05.07.2009, 09:24
pawn Code:
GetPlayerWeaponData(playerid,i,weaponid,ammo);
format(string,sizeof(string),"Weapon - %d",i);
dini_IntSet(path,string,weaponid);
format(string,sizeof(string),"AmmoID - %d",i);
dini_IntSet(path,string,ammo == 65535 ? 0 : ammo);
Can someone explane me this line:
Code:
dini_IntSet(path,string,ammo == 65535 ? 0 : ammo);
I dont have experience with ? : etc.