ZCMD Not Wolking
#1

How to solve this i write /pickuphunt and /gopickuphunt on command in game not working

Код:
CMD:pickuphunt(playerid,params[])
{
    if(PUHIsStarted == true)
	{
		new string[50],str[256];
		format(string,sizeof string,"%s",pickuphuntpos[PUHCommand]);
		format(str,sizeof str,"[PICKUPHUNT]: Pickup has been spawned near:{FFCC00} %s",string);
		SendClientMessage(playerid,ROSU,str);
		SendClientMessage(playerid,ROSU,"[PICKUPHUNT]: Find it and get {FFCC00}5 {00CC00}score and ${FFCC00}50000{00CC00}!");
	} else return SendClientMessage(playerid,0xFF0000FF,"[PICKUPHUNT]: Pickuphunt isn't spawned yet!");
	return 1;
}
CMD:gopickuphunt(playerid, params[])
{
	if(PUHIsStarted == true)
	{
		SetPlayerPos(playerid,pickuphunt[TestPUH][0]+1,pickuphunt[TestPUH][1]+1,pickuphunt[TestPUH][2]);
	} else return SendClientMessage(playerid,0xFF0000FF,"[PICKUPHUNT]: Pickuphunt isn't spawned yet!");
	return 1;
}
Reply
#2

does not work how?
Reply
#3

Try this if it works your code is wrong after the if
Код:
CMD:pickuphunt(playerid,params[])
{
	SendClientMessage(playerid,-1,"Working!");
	return 1;
}
Reply
#4

ok solved
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)