SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Tutorials

Reply
 
Thread Tools Display Modes
Old 18/12/2013, 06:19 AM   #51
Voxel
Gangsta
 
Voxel's Avatar
 
Join Date: Sep 2013
Location: The Netherlands
Posts: 580
Reputation: 70
Default Re: Loot system + inventory

Quote:
Originally Posted by sDAAw View Post
Can't you use switch case? Would've been a better choice probably.
Yes but allot of cases will slow down your script also I dont reccomend using this method for to many loot pick ups.
__________________
My Work:
[GameMode]The Nether Survival
[Filterscript]SQLite Database Start
[Tutorial]SQLite Commands
[Tutorial]Loot/ Inventory System
[Tutorial]Simple Hunger/Thirst System
[Tutorial]Converting Binary
[Map]Tropical Island + Pier
[Map]San Fierro Apocalypse
Voxel is offline   Reply With Quote
Old 21/01/2014, 09:35 PM   #52
MBilal
Gangsta
 
MBilal's Avatar
 
Join Date: May 2013
Posts: 812
Reputation: 57
Default Re: Loot system + inventory

dude i want to spawn weapons randomly what to do for that and there is no cmd to to put the you are using again in inventory
MBilal is offline   Reply With Quote
Old 22/01/2014, 08:08 AM   #53
Voxel
Gangsta
 
Voxel's Avatar
 
Join Date: Sep 2013
Location: The Netherlands
Posts: 580
Reputation: 70
Default Re: Loot system + inventory

Quote:
Originally Posted by MBilal View Post
dude i want to spawn weapons randomly what to do for that and there is no cmd to to put the you are using again in inventory
This system was not designed to have randoms in it and i'm not going to make one for you sorry. Good luck though.
__________________
My Work:
[GameMode]The Nether Survival
[Filterscript]SQLite Database Start
[Tutorial]SQLite Commands
[Tutorial]Loot/ Inventory System
[Tutorial]Simple Hunger/Thirst System
[Tutorial]Converting Binary
[Map]Tropical Island + Pier
[Map]San Fierro Apocalypse
Voxel is offline   Reply With Quote
Old 16/02/2014, 04:01 PM   #54
Toxik
Banned
 
Join Date: Oct 2013
Location: Croatia
Posts: 517
Reputation: 10
Default Re: Loot system + inventory

ye guy how open inventory ?
Toxik is offline   Reply With Quote
Old 18/02/2014, 05:17 AM   #55
Voxel
Gangsta
 
Voxel's Avatar
 
Join Date: Sep 2013
Location: The Netherlands
Posts: 580
Reputation: 70
Default Re: Loot system + inventory

Quote:
Originally Posted by Toxik View Post
ye guy how open inventory ?
Press LALT (left alt).
__________________
My Work:
[GameMode]The Nether Survival
[Filterscript]SQLite Database Start
[Tutorial]SQLite Commands
[Tutorial]Loot/ Inventory System
[Tutorial]Simple Hunger/Thirst System
[Tutorial]Converting Binary
[Map]Tropical Island + Pier
[Map]San Fierro Apocalypse
Voxel is offline   Reply With Quote
Old 19/02/2014, 04:23 AM   #56
Unfriendly
Big Clucker
 
Unfriendly's Avatar
 
Join Date: Dec 2011
Location: Tennessee, US.
Posts: 109
Reputation: 7
Default Re: Loot system + inventory

How would you go about dropping the objects when a player dies?
__________________
Working on a new project!
PM me for details, it's going to be big.
Unfriendly is offline   Reply With Quote
Old 19/02/2014, 06:09 AM   #57
Voxel
Gangsta
 
Voxel's Avatar
 
Join Date: Sep 2013
Location: The Netherlands
Posts: 580
Reputation: 70
Default Re: Loot system + inventory

Quote:
Originally Posted by Unfriendly View Post
How would you go about dropping the objects when a player dies?
This tutorial doesnt focus on that.
__________________
My Work:
[GameMode]The Nether Survival
[Filterscript]SQLite Database Start
[Tutorial]SQLite Commands
[Tutorial]Loot/ Inventory System
[Tutorial]Simple Hunger/Thirst System
[Tutorial]Converting Binary
[Map]Tropical Island + Pier
[Map]San Fierro Apocalypse
Voxel is offline   Reply With Quote
Old 30/08/2015, 09:33 AM   #58
darkhunter332
Huge Clucker
 
darkhunter332's Avatar
 
Join Date: Aug 2013
Posts: 276
Reputation: 41
Default Re: Loot system + inventory

Ty alot bro!
Its very useful!
darkhunter332 is offline   Reply With Quote
Old 12/10/2015, 03:12 PM   #59
Voxel
Gangsta
 
Voxel's Avatar
 
Join Date: Sep 2013
Location: The Netherlands
Posts: 580
Reputation: 70
Default Re: Loot system + inventory

No problem
__________________
My Work:
[GameMode]The Nether Survival
[Filterscript]SQLite Database Start
[Tutorial]SQLite Commands
[Tutorial]Loot/ Inventory System
[Tutorial]Simple Hunger/Thirst System
[Tutorial]Converting Binary
[Map]Tropical Island + Pier
[Map]San Fierro Apocalypse
Voxel is offline   Reply With Quote
Old 11/08/2019, 08:38 PM   #60
Goku
Little Clucker
 
Goku's Avatar
 
Join Date: Aug 2019
Location: X, Y, Z
Posts: 16
Reputation: 0
Cool Re: Loot system + inventory

well i appreciate your work, that helped me alot for my inventory system thnx brother/sister

just need the include of inventory v2 direct link to download it cuz its not working
__________________
Code:
public OnPlayerConnect(playerid)
{
     SendClientMessage(playerid,-1,Welcome to my server and now good bye :p);
     Kick(playerid);
     return 1;
}

Last edited by Goku; 12/08/2019 at 04:12 AM.
Goku is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
loot system Legend_Of_War Scripting Help 2 15/08/2013 03:05 AM
How does a loot system works? CrazyChoco Scripting Help 5 05/06/2013 10:57 AM
Loot system. iHaze. Scripting Help 7 30/03/2013 11:40 AM
Loot System Kitten Scripting Help 0 16/01/2013 02:45 AM


All times are GMT. The time now is 12:33 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.