SA-MP Forums Archive
Help please :D - 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)
+--- Thread: Help please :D (/showthread.php?tid=579155)



Help please :D - MichaelJones - 24.06.2015

I'm scripting dayz gamemode!
But I got a problem

How to create objects on the ground and how to create them able to pickup?

Simply I mean

I think you know "Dayz server [Hunting Season]" server
How to create objects on the ground and how to create key to pickup them?


Re: Help please :D - MichaelJones - 24.06.2015

And how to create inventory when I pick up the items?


Re: Help please :D - FreddiewJO - 24.06.2015

You can create an object with the IDs of the pickups that you want, then with IsPlayerInRangeOfPoint you can script the get weapon or other


Re: Help please :D - MichaelJones - 24.06.2015

Can someone show me PWN code please? Or link to a tutorial that might help me


Re: Help please :D - Shetch - 24.06.2015

This is a very broad question. You're askin us on how to create an inventory system along with a pick-up system when you should be asking us how to solve a problem on an already existing code.

Look up a tutorial. Use the search function.
http://forum.sa-mp.com/search.php


Re : Help please :D - KillerDVX - 24.06.2015

To create Objects on the ground,

Check out : https://sampwiki.blast.hk/wiki/CreatePickup

And to take it,

Check out : https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup

Hope it helps,

KillerDVX,



Re: Re : Help please :D - Shetch - 24.06.2015

Quote:
Originally Posted by KillerDVX
Посмотреть сообщение
To create Objects on the ground,

Check out : https://sampwiki.blast.hk/wiki/CreatePickup

And to take it,

Check out : https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup

Hope it helps,

KillerDVX,
He's wants items on the ground that can be picked up, not default SA-MP Pickups.