Command With Playerid and Reason
#4

pawn Код:
dcmd_pullover(playerid,params[])
{
   new giveplayerid, reason[128];
   if(sscanf(params,"ds",giveplayerid,reason))
   {
      //They left out a parameter
   }
   if(!IsPlayerConnected(giveplayerid))
   {
      //The specified player is not connected
   }
   //They specified a connected player and a reason
   //Do the rest
}
Reply


Messages In This Thread
Command With Playerid and Reason - by sidhu123 - 01.02.2009, 22:19
Re: Command With Playerid and Reason - by Backwardsman97 - 02.02.2009, 02:03
Re: Command With Playerid and Reason - by AlExAlExAlEx - 02.02.2009, 02:11
Re: Command With Playerid and Reason - by Backwardsman97 - 02.02.2009, 02:19
Re: Command With Playerid and Reason - by LarzI - 02.02.2009, 04:51
Re: Command With Playerid and Reason - by sidhu123 - 02.02.2009, 19:30
Re: Command With Playerid and Reason - by x-cutter - 02.02.2009, 22:25
Re: Command With Playerid and Reason - by Lazarus - 02.02.2009, 22:37
Re: Command With Playerid and Reason - by sidhu123 - 02.02.2009, 23:09
Re: Command With Playerid and Reason - by sidhu123 - 02.02.2009, 23:44
Re: Command With Playerid and Reason - by Auto-Sized - 02.02.2009, 23:56
Re: Command With Playerid and Reason - by Lazarus - 03.02.2009, 00:02
Re: Command With Playerid and Reason - by sidhu123 - 03.02.2009, 00:09
Re: Command With Playerid and Reason - by Backwardsman97 - 03.02.2009, 04:35
Re: Command With Playerid and Reason - by Lazarus - 03.02.2009, 12:30
Re: Command With Playerid and Reason - by LarzI - 03.02.2009, 13:04
Re: Command With Playerid and Reason - by Lazarus - 03.02.2009, 13:12

Forum Jump:


Users browsing this thread: 4 Guest(s)