[Tutorial] Making simple hitman contract system[Zcmd,sscanf2]
#8

Quote:
Originally Posted by rockhopper
Посмотреть сообщение
Anyone ? Please I need IT
Код:
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;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)