#include <a_samp>
#include <dini>
new Text:RealClock,Timer;
forward UpdateClock();
//------forward Cars----------
forward IsANewbie();
//--------------Cars--------------
new noobcar[6]
//Define
#define DialogRegister 1
#define DialogLogin 2
//---------Colors--------
#define COLOR_LOGIN 0x008400FF
#define COLOR_LOGINFAIL 0xC00023FF
#define COLOR_RED 0xFF0019FF
//------RechteColors------ SpawnPlayer(playerid);
#define COLOR_CLANMEMBER 0xB400FFFF
#define COLOR_MODERATOR 0x007BFFFF
#define COLOR_ADMINISTRATOR 0x00E200FF
#define COLOR_SUPERADMIN 0xFFFF00FF
#define COLOR_SERVERMANAGER 0xFF8200FF
#define COLOR_SERVEROWNER 0xFF0000FF
#define COLOR_LEVEL1 0x00FFFFFF
[color=#ff0000]main();[/color]
{
print("\n----------------------------------");
print("German TEST Server");
print("----------------------------------\n");
}
public OnGameModeInit()
{
RealClock = TextDrawCreate(547.000000,22.000000," ");
TextDrawAlignment(RealClock,0);
TextDrawBackgroundColor(RealClock,0x000000ff);
TextDrawFont(RealClock,3);
TextDrawLetterSize(RealClock,0.599999,2.299999);
TextDrawColor(RealClock,0xffffffff);
TextDrawSetOutline(RealClock,1);
TextDrawSetProportional(RealClock,1);
TextDrawSetShadow(RealClock,10);
Timer = SetTimer("UpdateClock",300,1);
DisableInteriorEnterExits();
SetGameModeText("Selfmade Script");
AddPlayerClass(137,1727.9397,-1634.2394,20.2160,5.4384,0,0,0,0,0,0);
//------------------Cars------------
//Noobcars
noobcar[0] = AddStaticVehicleEx(462,1703.4419,-1624.1383,13.1476,359.1008,1,82, 1800); // Spawncar 1
noobcar[1] = AddStaticVehicleEx(462,1704.9547,-1624.1165,13.1464,359.0744,1,2, 1800); // Spawncar 2
noobcar[2] = AddStaticVehicleEx(462,1706.5665,-1624.1337,13.1459,358.9807,1,68, 1800); // Spawncar 3
noobcar[3] = AddStaticVehicleEx(462,1736.6414,-1624.1914,13.1466,359.3909,1,16, 1800); // Spawncar 4
noobcar[4] = AddStaticVehicleEx(462,1735.0638,-1624.2140,13.1467,1.5293,1,100, 1800); // Spawncar 5
noobcar[5] = AddStaticVehicleEx(462,1733.5803,-1624.1064,13.1461,1.0946,1,122, 1800); // Spawncar &
return 1;
}
[color=#ff0000]public IsANewbie(carid)[/color]
{
if(carid == noobcar[0] || carid == noobcar[1] || carid == noobcar[2] || carid == noobcar[3] || carid == noobcar[4] || carid == noobcar[5])
{
return 1;
}
return 0;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
ich weiß nicht was der fehler ist
C:\Users\FloCrow\Desktop\Spiele\SCRIPT\gamemodes\GBR.pwn(37) : error 001: expected token: ";", but found "-identifier-"
C:\Users\FloCrow\Desktop\Spiele\SCRIPT\gamemodes\GBR.pwn(38) : error 055: start of function body without function header
C:\Users\FloCrow\Desktop\Spiele\SCRIPT\gamemodes\GBR.pwn(79) : error 025: function heading differs from prototype
C:\Users\FloCrow\Desktop\Spiele\SCRIPT\gamemodes\GBR.pwn(195) : warning 209: function "OnPlayerCommandText" should return a value
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
Wo Color steht wollte ich die feler makiren