How i do this
#1

i want to make a command but only one name can use it.
Reply
#2

pawn Код:
public OnPlayerCommandText(playerid,cmdtext[])
{
  if(!strcmp(cmdtext,"/command",true))
  {
    new pName[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName,sizeof pName);
    if(!strcmp(pName,"<name>"))
    {
    }
    else SendClientMessage(playerid,0x0000ff00,"Your name isnt <name>");
  }
}
Reply
#3

thanks man
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)