SA-MP Forums Archive
Ehen enter in the pickup - 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: Ehen enter in the pickup (/showthread.php?tid=68445)



Ehen enter in the pickup - Scoots - 10.03.2009

Hi dear Scripters! How can i made that - I create a pickup in sf airport but when player go in that pickup with car then see message "to sell car type /sell" when player type /sell then vehicle teleport to my cord but player stang without vehicle


Re: Ehen enter in the pickup - Rks25 - 10.03.2009

pawn Код:
new mypickup;

//OnGameModeInit
mypickup = CreatePickup(....

//OnPlayerPickupPickup
if(pickupid == mypickup)
{
  SendClientMessage(COLOR_COLOR,"Your Message");
}