17.02.2016, 05:33
Quote:
|
Could you provide us with more info?
Which game mode are you using? Some commands? /stats would help a lot |
Hi!, Here you have one function that I just made, I wish it helps you.
Код:
CheckPlayerWeaps(playerid)
{
new weap, ammo, string[64];
for (new i = 0; i <= 12; i++)
{
GetPlayerWeaponData(playerid, i, weap, ammo);
format(string,sizeof(string),"SLOT: %i. WEAPON: %i, AMMO: %i",i, weap, ammo);
SendClientMessage(playerid,-1,string);
}
return 1;
}
Код:
CMD:checkweaps(playerid, params[])
{
new player;
if(!sscanf(params, "r", player))
{
CheckPlayerWeaps(player);
}
else SendClientMessage(playerid, -1 "[USAGE]: /checkweaps [ID player]");
return 1;
}


