12.06.2010, 14:42
Code:
if(strcmp(cmdtext,"/weap", true) == 0) { new string[64]; format(string, 64, "weapon: %d ammo: %d",GetPlayerWeapon(playerid),GetPlayerAmmo(playerid)); SendClientMessage(playerid, 0xFFFFFFAA, string); return 1; }
if(strcmp(cmdtext,"/weap", true) == 0) { new string[64]; format(string, 64, "weapon: %d ammo: %d",GetPlayerWeapon(playerid),GetPlayerAmmo(playerid)); SendClientMessage(playerid, 0xFFFFFFAA, string); return 1; }
if(GetPlayerAmmo(playerid) == 0) ammo = " "; else if(GetPlayerAmmo(playerid) == 1) ammo = " ";