19.07.2010, 22:42
how make that is player name is ex: troy
and command like this
i mean i want that commands only access this player with name troy not admin, are is possible?
and error message is this ;you cannot teleport because your name is not troy! or something like that!
and command like this
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/troyhouse", true)==0 && IsPlayerAdmin(playerid)) { SetPlayerPos(playerid, 2018.2966, 1916.3411, 12.3418); return 1; }
and error message is this ;you cannot teleport because your name is not troy! or something like that!