Advertisement
Guest User

Untitled

a guest
May 16th, 2016
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.50 KB | None | 0 0
  1. new LoadInv[24];
  2. new LoadInvQuant[24];
  3. new LoadInvArmour[24];
  4.  
  5. for(new t=0; t < 15; t++)
  6. {  
  7.     format(LoadInv, sizeof(LoadInv), "Slot%d", t);
  8.     format(LoadInvQuant, sizeof(LoadInvQuant), "Slot%dQuant", t);
  9.     format(LoadInvArmour, sizeof(LoadInvArmour), "Slot%dArmour", t);
  10.        
  11.     orm_addvar_int(ormid, pInventory[playerid][invSlot][t], LoadInv);
  12.     orm_addvar_int(ormid, pInventory[playerid][invSlotAmount][t], LoadInvQuant);
  13.     orm_addvar_float(ormid, pInventory[playerid][invArmourStatus][t], LoadInvArmour);
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement