17.11.2010, 03:13
I want to make it so that only "Scouts" can use the command "/hide".
Which makes it so that their blip goes invisible on the map.
Current Code:
The error is:
C:\Program Files\Rockstar Games\GTA San Andreas\My Server\gamemodes\Zombie.pwn(375) : error 017: undefined symbol "classid"
How would I define "classid"?
^^ Thank You.
Which makes it so that their blip goes invisible on the map.
Current Code:
Код:
//----------IN GAME ZOMBIE COMMANDS----------
if(classid == 5)
if(strcmp("/hide", cmdtext, true, 5) == 0)
{
SetPlayerMarkerForPlayer(playerid,1,00);
SendClientMessage(playerid,0xFF0000AA,"You've concealed yourself.");
}
else
SendClientMessage(playerid, 0xFF0000AA, "Only Scouts may use this command.");
return 1;
}
C:\Program Files\Rockstar Games\GTA San Andreas\My Server\gamemodes\Zombie.pwn(375) : error 017: undefined symbol "classid"
How would I define "classid"?
^^ Thank You.



)