if(strcmp(cmd, "/pickup", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 3)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /pickup [pickup id]");
return 1;
}
{
GetPlayerPos(playerid, x, y, z);
format(string,sizeof(nstring),"Du hast Pickup ID %d gespawnt.", pickupid);
SendClientMessage(playerid, COLOR_GREEN2, nstring);
CreatePickup(pickupid, 2, x+2,y+2,z);
}
}
return 1;
}
C:\DOKUME~1\Michael2\Desktop\GTASER~1\GAMEMO~1\reallife.pwn(669) : error 017: undefined symbol "COLOR_GRAD2"
C:\DOKUME~1\Michael2\Desktop\GTASER~1\GAMEMO~1\reallife.pwn(673) : error 017: undefined symbol "x"
C:\DOKUME~1\Michael2\Desktop\GTASER~1\GAMEMO~1\reallife.pwn(674) : error 017: undefined symbol "nstring"
C:\DOKUME~1\Michael2\Desktop\GTASER~1\GAMEMO~1\reallife.pwn(674) : error 029: invalid expression, assumed zero
C:\DOKUME~1\Michael2\Desktop\GTASER~1\GAMEMO~1\reallife.pwn(674) : warning 215: expression has no effect
C:\DOKUME~1\Michael2\Desktop\GTASER~1\GAMEMO~1\reallife.pwn(675) : error 017: undefined symbol "COLOR_GREEN2"
C:\DOKUME~1\Michael2\Desktop\GTASER~1\GAMEMO~1\reallife.pwn(676) : error 017: undefined symbol "pickupid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
brauche mal bittte hilfe