03.06.2014, 12:44
Код:
CMD:checktarget(playerid,params[]) { new targetid,str[128]; if(sscanf(params,"ui",targetid))return SendClientMessage(playerid,COLOR_WHITE,"Syntax:/checktarget id"); if (Hitman[targetid] == 1) { format(str,sizeof(str),"This guy has a bounty $%i",GetPVarInt(targetid,"hitmanmoney")); SendClientMessage(playerid,COLOR_WHITE,str); } else return SendClientMessage(playerid,COLOR_WHITE,"This guy doesnt have any contracts exist"); return 1; }