02.09.2011, 21:58
Here is more simple code.
pawn Код:
CMD:uco(playerid, params[]) {
if(!gTeam[playerid] == TEAM_UC) return SendClientMessage(playerid, 0xFFFFAAFF, "You must be Team UC to open UC gate.");
MoveObject(ucgate, X, Y, Z, 2.0);
SendClientMessage(playerid, 0xFFFFAAFF, "Your moving the gate of UC."); }
return 1; }