21.03.2010, 10:10
Hey its me again for like the 3rd time in one day.. lol
anyway i was wondering how do u make an a command that only admins can use?
for example a teleport:
anyway i was wondering how do u make an a command that only admins can use?
for example a teleport:
Код:
if (strcmp("/ls", cmdtext, true, 10) == 0) { SetPlayerPos(playerid, 1544.4379,-1353.2231,329.4744); SendClientMessage(playerid, COLOR_YELLOW, "Welcome to Los Santos!"); new name[MAX_PLAYER_NAME], string[100]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "[TELEPORT] %s has gone to Los Santos [/ls]", name ); SendClientMessageToAll(COLOR_LIGHTBLUE, string); return 1;