/getweps
#1

Can some one give me a link for a command of /getweps?
Reply
#2

Do you want /givegun?

/getweps for what?
Reply
#3

To see the player weapons like:

/getwep 1

Player %s has:

M4
UZI
ETC.
Reply
#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
#5

So how I can make it?
Can you do it for me :]
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)