How i do this
#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


Messages In This Thread
How i do this - by ls200 - 15.07.2010, 14:41
Re: How i do this - by Hiddos - 15.07.2010, 14:43
Re: How i do this - by ls200 - 15.07.2010, 14:49

Forum Jump:


Users browsing this thread: 2 Guest(s)