/getweps
#4

It's rather easy...

See this to see how to do it.
pawn Код:
//common use: get all weapons and store info in an array containing 13 slots
//first value is weapon id and second is ammo
new weapons[13][2];
for (new i = 0; i < 13; i++)
{
    GetPlayerWeaponData(playerid, i, weapons[i][0], weapons[i][1]);
}
That's a example.
Reply


Messages In This Thread
/getweps - by Alex_Obando - 06.05.2011, 23:23
Re: /getweps - by dannyk0ed - 06.05.2011, 23:45
Respuesta: /getweps - by Alex_Obando - 06.05.2011, 23:53
Re: /getweps - by Deskoft - 06.05.2011, 23:55
Respuesta: /getweps - by Alex_Obando - 07.05.2011, 00:19

Forum Jump:


Users browsing this thread: 5 Guest(s)