[FilterScript] [FS]~Jail Command~
#9

Quote:
Originally Posted by Niixie
Doppeyy you were be4 me! FUUU



pawn Code:
if(!strcmp(cmdtext, "/jail", true, 5))
{
  if(PlayerIsAdmin == 1)
  {
    if(!strlen(cmdtext[6]))
    {
      SendClientMessage(playerid, COLOR_ORED, "Usage: /jail [playerid]");
      return 1;
    }
    new ID = strval(cmdtext[6]);
    new strv[170];
    if(IsPlayerConnected(ID))
    {
      format(strv, 170, "~ You have been jailed");
      SendClientMessage(ID,COLOR_ORANGE, strv);
      SetPlayerPos(ID, 264.8763,81.9862,1001.0390);
      SetPlayerInterior(ID, 6);
    }
  }
  return SendClientMessage(playerid, COLOR_RED, "Your not rcon admin!");
}
That should do it
And how is that one better then the one i posted ?

[Doppeyy
Reply


Messages In This Thread
[FS]~Jail Command~ - by Nakki - 03.01.2010, 16:30
Re: [FS]~Jail Command~ - by Hullu - 03.01.2010, 16:35
Re: [FS]~Jail Command~ - by Doppeyy - 03.01.2010, 16:37
Re: [FS]~Jail Command~ - by Nakki - 03.01.2010, 16:44
Re: [FS]~Jail Command~ - by Doppeyy - 03.01.2010, 16:45
Re: [FS]~Jail Command~ - by Nakki - 03.01.2010, 16:52
Re: [FS]~Jail Command~ - by Doppeyy - 03.01.2010, 16:55
Re: [FS]~Jail Command~ - by Niixie - 03.01.2010, 16:57
Re: [FS]~Jail Command~ - by Doppeyy - 03.01.2010, 16:58
Re: [FS]~Jail Command~ - by Nakki - 03.01.2010, 16:59

Forum Jump:


Users browsing this thread: 1 Guest(s)