Dynamic pickup help please!!! - 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: Dynamic pickup help please!!! (
/showthread.php?tid=218669)
Dynamic pickup help please!!! -
darkknight123 - 30.01.2011
I'm useing Incognito's streamer and I'v changed my createpickup to createdynamic pickup they show up alright but normaly when i go into one itll say "/enter to enter" but with the createdynamicpickup i walk into on of them and nothing happens please help i dont know what im doing wrong
Код:
if(pickupid == iTWC) // The Walton Cartel
{
GameTextForPlayer(playerid, "~w~Type ~r~/enter~w~ to go inside", 5000, 5);
return 1;
}
thats what works on the normal Createpickup but it wont show on the creatdynamicpickup
Re: Dynamic pickup help please!!! -
Vince - 30.01.2011
Isn't there a special callback for it?
Re: Dynamic pickup help please!!! - [L3th4l] - 30.01.2011
Place your code under:
pawn Код:
OnPlayerPickUpDynamicPickup(playerid, pickupid)
Instead of:
pawn Код:
OnPlayerPickUpPickup(....)
Re: Dynamic pickup help please!!! -
darkknight123 - 30.01.2011
I tryed but i got 26 errors now
Re: Dynamic pickup help please!!! -
iFriSki - 30.01.2011
Quote:
Originally Posted by darkknight123
I tryed but i got 26 errors now
|
And they are? Can't help without those.