SA-MP Forums

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 23/04/2009, 08:32 PM   #1
Outbreak
Huge Clucker
 
Join Date: Dec 2008
Posts: 303
Reputation: 3
Default Question about arrays

I've got a spawn weapons feature, and im trying to create something to see what weapons each player has...

The weapons are stored in an array, im wondering is it possible to store, 12 weapons in an array, all with varying ammo..

Then use another function to extract the info on what weapons the player has...
I've already got a command to see what weapons the player is carrying.. This isnt what im asking...

I want to store weapon info in 1 array, then be able to extract the info and display it as weapons id and ammo amount.

Is it possible?
Outbreak is offline  
 

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
[Question] Arrays ArTisT Help Archive 1 20/06/2010 06:44 PM
Help with arrays Gozerr Help Archive 3 28/02/2010 01:07 PM
Arrays •Ajax• Help Archive 3 28/11/2009 06:40 AM
Help With Arrays StrickenKid Help Archive 1 01/10/2009 09:01 PM


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


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