Using pickups? - 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: Using pickups? (
/showthread.php?tid=151612)
Using pickups? -
jameskmonger - 31.05.2010
How can I make it so that if a player stands on the pickup outside the ammunation, it says "type /enter to enter", and if they type /enter it puts them inside?
I don't know how to do it without creating thousands of:
Код:
new blabla = CreatePickup(...
new blabla1 = CreatePickup(...
Re: Using pickups? -
Grim_ - 31.05.2010
That's the only way to do it.
Re: Using pickups? -
jameskmonger - 31.05.2010
Ok, so there's no streamers or anything that will do it?
Re: Using pickups? -
IcyBlight - 31.05.2010
Make a pickup, and OnPlayerPickupPickup, add a gamemodetext to say "/enter to enter"
Then under OnPlayerCommandText, on "/enter" and if IsPlayerInRangeOfPoint is within the range of the pickup(use same coords), then put him inside.
Re: Using pickups? -
Grim_ - 31.05.2010
IcyBlight: He knows how to do it..
Not if I understand your questions correctly. That's the only way to create pickups
Re: Using pickups? -
IcyBlight - 31.05.2010
Quote:
Originally Posted by Grim_
IcyBlight: He knows how to do it..
Not if I understand your questions correctly. That's the only way to create pickups
|
It's not exactly thousands of lines, more like 10 or so.
Not that hard.
Re: Using pickups? -
Grim_ - 31.05.2010
He's talking about creating the pickups, not the actual code on how to make them enter, etc.
Re: Using pickups? -
jameskmonger - 31.05.2010
Hmm, can you just link me to a decent business system?
(A dynamic one, please, I'll just work off of that.)
Re: Using pickups? -
IcyBlight - 31.05.2010
Quote:
Originally Posted by jameskmonger
Hmm, can you just link me to a decent business system?
(A dynamic one, please, I'll just work off of that.)
|
FFS, Search feature please?
It solves 90% of problems.