Variables Question
#2

lol , you need each variabile for each type ... e.g:

you can use 2D Array

at pInfo

pawn Код:
pLockerSlot[4],/*0 - Weapon id; 1 - Bullets; 2 - Drugs; 3 - Materials
and at that command , use the correct syntax for the correct item

if you want to add some mats ...

pawn Код:
PlayerInfo[playerid][pLockerSlot][3] += mats;
etc.
Reply


Messages In This Thread
Variables Question - by Onyx09 - 10.04.2010, 17:57
Re: Variables Question - by UsaBoy91 - 10.04.2010, 18:02
Re: Variables Question - by Onyx09 - 10.04.2010, 18:07

Forum Jump:


Users browsing this thread: 1 Guest(s)