gate command problem
#1

Hey guys, When I use this everyone can just open the gate:

Код:
if (strcmp("/uaclose", cmdtext, true, 10) == 0)
	{
	if(GetPlayerColor(playerid) == 0x2641FEAA || 0x33AA33AA)
	{
	MoveObject(uagate1,2720.0859375,-2504.1650390625,14.159820556641, 2.0);
	MoveObject(uagate2,2720.17578125,-2405.34765625,14.135627746582, 2.0);
	}
	else {
 	SendClientMessage(playerid, 0x33AA33AA, "You are not part of the UA or LSP!");
	}
	return 1;
	}
What is wrong?
Reply
#2

You should use gTeam
Reply
#3

Well, this has to work :O
I hate G team
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)