20.01.2012, 19:46
As the title says..
I want admins to be able to see the players weapons but I cant figure out how:/
I want admins to be able to see the players weapons but I cant figure out how:/
new weapons = 0;
new ammo;
for (new i=0; i < 13; i++)
{
GetPlayerWeaponData(giveplayerid, i, weapons, ammo);
if(weapons != 0)
{
format(string, sizeof(string), "%d: %d (%d)", i, weapons, ammo);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
|
and sometimes it'll still return old data like if they bought a sniper and it gets removed then it may return that they still have a sniper.
|
|
Like this: https://sampforum.blast.hk/showthread.php?tid=312184 ?
|