Command Help.
#9

EDIT -

For some reason the command is switching all of the red team
over to the blue team..So nobody can use the command.

Here's the code i'm using.

Код:
	//----------IN GAME ZOMBIE COMMANDS----------
	if(gTeam[playerid] == TEAM_ZOMBIES)
	{
	    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;
 }
It compiles perfectly, though.
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)