How to make pickups save/load?
#1

Hello. So I'm attempting to learn something new, and that's how to make things dynamic. I'm looking to create a pickup in-game, and have it save/load. I'd also like the pickup to do something (I already have a stock for it, which will give a random weapon.)

Is there any tutorials out there on how to make things dynamic with y_ini perhaps? I'm getting tired of doing things manually, and it would be much more convenient to just /createpickup, which will create a specified pickup at your location, and would make it compatible with my current stock. (GiveRandomWeapon, when they enter the pickup.)

Where do I start learning? I'd like to learn how to make things dynamic.
Reply
#2

I would first start learning how to create a dynamic pickup indeed, I have a pickup tutorial in my signature thou it is for static, it can still be usefull, Anyhow, creating a dynamic pickup system, i would reffer you to an already existing script and studying that, How does it work etc, and then try to create ur own version of it.
May i reffer to this topic ; https://sampforum.blast.hk/showthread.php?pid=1661908#pid1661908
(its a medium script, thou you should be able to understand it.
Reply
#3

I'm actually not familiar with mysql at all. But I'll try to find a already-existing script and begin studying from it. Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)