Quote:
Originally Posted by Clive
Use this change the "Your Name." to your name in game.
pawn Код:
if (strcmp("/open", cmdtext, true, 10) == 0) { new PlayerName[MAX_PLAYER_NAME]; GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME); if(!strcmp("Your Name.",PlayerName,true)) return 0;//Change: Your Name. MoveObject(gate,443.53085327,947.01824951,-2.5,1.5); SendClientMessage(playerid, 0xFF9900AA, "Gate Open"); return 1; }
|
Thats really cool, Do you mind if i use it to?