Command failure?
#1

Код:
	if(!strcmp(cmdtext,"/arm",true)) {
	new classid;
	if(IsPlayerInCheckpoint(playerid))
 	{
	if(classid == 0 || classid == 1 || classid == 2)
  {
	SendClientMessageToAll(COLOR_GREEN,"Team 1 has planted their bomb!");
 	}
 	if (classid == 3 || classid == 4 || classid == 5)
 	{
	SendClientMessageToAll(COLOR_GREEN,"Team 2 has planted their bomb!");
	}
	else
	{
	SendClientMessage(playerid,COLOR_RED,"Your Not in the checkpoint!");
	}
	}
	return 1;
	}
Suppost to check if the player is in a checkpoint. then announce if that team set their bomb. but so far. you type /arm outside of a checkpoint. it does nothing. do /arm inside a checkpoint ti says im not in one. any idea of how i got this backwards?
Reply


Messages In This Thread
Command failure? - by -Rebel Son- - 27.05.2010, 00:03
Re: Command failure? - by coole210 - 27.05.2010, 00:07
Re: Command failure? - by -Rebel Son- - 27.05.2010, 00:18
Re: Command failure? - by Toni - 27.05.2010, 00:22
Re: Command failure? - by -Rebel Son- - 27.05.2010, 00:29
Re: Command failure? - by Nero_3D - 27.05.2010, 01:08
Re: Command failure? - by -Rebel Son- - 27.05.2010, 01:14
Re: Command failure? - by Nero_3D - 27.05.2010, 01:27
Re: Command failure? - by -Rebel Son- - 27.05.2010, 01:39
Re: Command failure? - by Nero_3D - 27.05.2010, 02:28

Forum Jump:


Users browsing this thread: 1 Guest(s)