command
#2

pawn Код:
CMD:yourcmd(playerid, params[])
{
new PlayerName[24];
GetPlayerName(playerid, PlayerName,sizeof(PlayerName));

    if (strcmp(PlayerName,"Tan",true) == 0)
    {
    //Name is "Tan"
    }
    else
    {
    //Name is not "Tan"
    }

    return 1;
}
Reply


Messages In This Thread
command - by Tanush123 - 06.01.2012, 17:48
Re: command - by Jakku - 06.01.2012, 17:52
Re: command - by Tanush123 - 06.01.2012, 17:55
Re: command - by Jakku - 06.01.2012, 17:58

Forum Jump:


Users browsing this thread: 1 Guest(s)