06.04.2012, 17:04
Quote:
its the code..
Код:
if (strcmp("/opengates", cmdtext, true, 10) == 0) { if(GetPlayerSkin(playerid) != 285) { SendClientMessage(playerid, 0xAFAFAFAA,"Opening Gates."); MoveObject(gate, 2497.50, 2785.44, 11.27,3); return 1; } else { SendClientMessage(playerid, 0xAFAFAFAA,"You are not allowed to move the gates"); } return 1; } |
With your code,will open the gate if he is not with skin 285,
!= 285 Not equal.