Geting the player's ID from inputtext
#4

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(response)
    {
      if(dialogid == 1)
      {
        new targetid = strval(inputtext);
        if(IsPlayerConnected(targetid))
        {
            SendClientMessage(targetid, 0xFFFFFFF, "Your message");
        }
        }
    }
    return 1;
}
Reply


Messages In This Thread
Geting the player's ID from inputtext - by ||123|| - 17.06.2010, 16:37
Re: Geting the player's ID from inputtext - by Virtual1ty - 17.06.2010, 16:40
Re: Geting the player's ID from inputtext - by ||123|| - 17.06.2010, 16:45
Re: Geting the player's ID from inputtext - by PotH3Ad - 17.06.2010, 18:23

Forum Jump:


Users browsing this thread: 1 Guest(s)