[TUT] Como funciona o sistema de mochila
#6

pawn Код:
//Wiki SAMP
// Common use: get all weapons and store info in an array containing 13 slots
// The first value is the weapon ID, and second is the ammo
 
new weapons[13][2];
 
for (new i = 0; i < 13; i++)
{
    GetPlayerWeaponData(playerid, i, weapons[i][0], weapons[i][1]);
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)