Storage Warehouse - 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: Storage Warehouse (
/showthread.php?tid=643094)
Storage Warehouse -
Grintch - 13.10.2017
Hi guys! I wanted to create a new job and to make something like LS-RP Courier job but I don't know exactly how to do the warehouse
I want to do something like that :
But I don't know how. Can you help me to make something like that? Thank a lot for your support
Re: Storage Warehouse -
Escobabe - 13.10.2017
You should use CreatePickup and the arrows id is 1318.
EDIT: And create 3DTextLabel on the arrows range.
Re: Storage Warehouse -
Grintch - 13.10.2017
Quote:
Originally Posted by Escobabe
You should use CreatePickup and the arrows id is 1318.
EDIT: And create 3DTextLabel on the arrows range.
|
Okay, and after that, how can I make the storage with the variables.. and to make an error if the storage is full, if player have the needed item...
Re: Storage Warehouse -
Dignity - 13.10.2017
Define a variable for the storage, then use if() statements to determine when it’s full and so on.
https://sampwiki.blast.hk/wiki/Scripting_Basics#Variables
https://sampwiki.blast.hk/wiki/Control_Structures#if
Re: Storage Warehouse -
Grintch - 13.10.2017
Quote:
Originally Posted by Dignity
|
Okay. And it's hard to do it?
Re: Storage Warehouse -
Dignity - 13.10.2017
No, this is basic scripting and repetition for those who script often.