SA-MP Forums Archive
A simple 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: A simple Help. (/showthread.php?tid=245389)



A simple Help. - Ironboy - 31.03.2011

Hello!
I have made a pick up.In that, if a player enter it will show a message like this
pawn Код:
SendClientMessage(playerid,red,"blahblahblahblah");
After that the pickup will distroy.I dont want to destroy that pick up but on the same time if a player enter it,
then it should show the message.How to do that?


Re: A simple Help. - Medal Of Honor team - 31.03.2011

Use pickup types 1


Re: A simple Help. - (SF)Noobanatior - 31.03.2011

at the top of ya script go
pawn Код:
new pickup;
then go
Код:
pickup = CreatePickup(blah,blah,....
then under OnPlayerPickupPickup(.. go
PHP код:
if(pickupid == pickup)DestroyPickup(... 



Re: A simple Help. - Ironboy - 31.03.2011

Ok ty