How do u make certain commands for certain players
#1

I am wondering how do you make certain commands for a certain person?
Reply
#2

[quote=IceHawk ]
I am wondering how do you make certain commands for a certain person?
[/quot
pawn Код:
new name[24];
    GetPlayerName(playerid,name,24);
    if(strcmp(name,"playername",true) == 0)
    {
      //your command
    }
   else
   {
    //if somone else whos not the playername types the command.
   }

Try this.

EDIT:

I've edit my code a bit.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)