Scripting question
#7

PHP код:
new user[32];
    
GetPlayerName(playeridusersizeof(user));
         if(!
strcmp(user"YourNameThere"true)) // Check if player name it's 'YourNameThere' - The name can be too 'YOURnameTHere' ...
     
{
            
SendClientMessage(playerid, -1"You are the right user.");
     }
     else return 
SendClientMessage(playerid, -1"Only 'YourNameThere' can use that command.");

Reply


Messages In This Thread
Scripting question - by brandypol - 19.08.2015, 18:27
Re: Scripting question - by Mariciuc223 - 19.08.2015, 18:50
Re: Scripting question - by brandypol - 19.08.2015, 18:52
Re: Scripting question - by jlalt - 19.08.2015, 18:55
Re: Scripting question - by Mariciuc223 - 19.08.2015, 18:57
Re: Scripting question - by brandypol - 19.08.2015, 21:20
Re: Scripting question - by nezo2001 - 19.08.2015, 21:34

Forum Jump:


Users browsing this thread: 1 Guest(s)