Command Help.
#1

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:
Код:
	//----------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;
}
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.
Reply


Messages In This Thread
Command Help. - by BJaxx - 17.11.2010, 03:13
Re: Command Help. - by Kitten - 17.11.2010, 03:22
Re: Command Help. - by BJaxx - 17.11.2010, 03:34
Re: Command Help. - by Kitten - 17.11.2010, 03:39
Re: Command Help. - by BJaxx - 17.11.2010, 03:41
Re: Command Help. - by Kitten - 17.11.2010, 03:43
Re: Command Help. - by BJaxx - 17.11.2010, 03:46
Re: Command Help. - by Kitten - 17.11.2010, 03:52
Re: Command Help. - by BJaxx - 17.11.2010, 04:01
Re: Command Help. - by Kitten - 17.11.2010, 04:14
Re: Command Help. - by BJaxx - 17.11.2010, 04:21
Re: Command Help. - by Kitten - 17.11.2010, 04:58
Re: Command Help. - by BJaxx - 17.11.2010, 05:29
Re: Command Help. - by Kitten - 17.11.2010, 06:29
Re: Command Help. - by BJaxx - 17.11.2010, 14:02
Re: Command Help. - by BJaxx - 17.11.2010, 22:54
Re: Command Help. - by Kitten - 17.11.2010, 23:14
Re: Command Help. - by BJaxx - 18.11.2010, 02:04
Re: Command Help. - by Kitten - 18.11.2010, 02:27
Re: Command Help. - by BJaxx - 18.11.2010, 02:57
Re: Command Help. - by Kitten - 18.11.2010, 03:28
Re: Command Help. - by BJaxx - 18.11.2010, 04:16
Re: Command Help. - by Kitten - 18.11.2010, 04:37
Re: Command Help. - by Kitten - 18.11.2010, 05:05
Re: Command Help. - by BJaxx - 19.11.2010, 00:35

Forum Jump:


Users browsing this thread: 1 Guest(s)