SA-MP Forums Archive
OnPlayerPickUpPickup Help. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: OnPlayerPickUpPickup Help. (/showthread.php?tid=94631)



OnPlayerPickUpPickup Help. - Nakash - 31.08.2009

Hello,i am using the Godfather and there are duals(shotguns) in few huses,
my question is how can i kick someone that picks up Pickup ID number 1263(I think thats the dual id).
thanks.


Re: OnPlayerPickUpPickup Help. - ded - 31.08.2009

Код:
if(pickupid == PICKUPIDOFSAWNOFFSHERE)
  {
     Kick(playerid);
  }



Re: OnPlayerPickUpPickup Help. - Nakash - 31.08.2009

Quote:
Originally Posted by » ded «
Код:
if(pickupid == PICKUPIDOFSAWNOFFSHERE)
  {
    Kick(playerid);
  }
Thanks


Re: OnPlayerPickUpPickup Help. - ded - 31.08.2009

Quote:
Originally Posted by Nakash
Quote:
Originally Posted by » ded «
Код:
if(pickupid == PICKUPIDOFSAWNOFFSHERE)
  {
    Kick(playerid);
  }
Thanks