28.09.2012, 21:57
Just use:
pawn Код:
new gun[2];
GetPlayerWeaponData(playerid, 5, gun[0], gun[1]);
if(gun[0] == 30) SendClientMessage(playerid,-1,"You Have AK-47"); //your code here