19.08.2015, 18:52
Quote:
Код:
// in your command new Name[32]; GetPlayerName(playerid, Name, sizeof(Name)); if(!strcmp(Name, "YourNameThere", true)) // Check if player name it's 'YourNameThere' - The name can be too 'YOURnameTHere' ... { // Rest of the command there } else return SendClientMessage(playerid, -1, "Only 'YourNameThere' can use that command."); |