PROBLEM WITH CMD CAN FIX :s
#1

Hi, i make this cmd that police, fbi and national guard can open gate at ls airport, but when somebody from that teams type /lso or /lsc he get message YOU ARE NOT COP!

Here is code, i try to fix it but i cant :S

Код:
if (strcmp(cmdtext, "/lso", true)==0)
	{
		if(PlayerInfo[playerid][pTeam] == 1 || PlayerInfo[playerid][pTeam] == 2 || PlayerInfo[playerid][pTeam] == 3)
		{
  		MoveObject(lsgate,1950.097,-2189.796,15.320, 8.0);
			SendClientMessage(playerid, COLOR_GREEN, "GATE OPEN.");
		}
		else return SendClientMessage(playerid, COLOR_GREEN, "YOU ARE NOT PD.");
	}
	if (strcmp(cmdtext, "/lsc", true)==0)
	{
		if(PlayerInfo[playerid][pTeam] == 1 || PlayerInfo[playerid][pTeam] == 2 || PlayerInfo[playerid][pTeam] == 3)
		{
 			MoveObject(lsgate,1961.690,-2189.593,15.320, 8.0);
			SendClientMessage(playerid, COLOR_GREEN, "GATE CLOSE.");
		}
		else return SendClientMessage(playerid, COLOR_GREEN, "YOU ARE NOT PD.");
	}
help to fix this please
Reply


Messages In This Thread
PROBLEM WITH CMD CAN FIX :s - by buonggiorno - 01.12.2009, 15:43
Re: PROBLEM WITH CMD CAN FIX :s - by DeathOnaStick - 01.12.2009, 16:16
Re: PROBLEM WITH CMD CAN FIX :s - by buonggiorno - 01.12.2009, 16:24

Forum Jump:


Users browsing this thread: 1 Guest(s)