unknown cmd
#1

This command works, It kills but along the way it sends a messsage "unknown command"

Код:
CMD:kill(playerid)
{
	 printf ("starting the cmd");
     if(connected[playerid] == true) return GameTextForPlayer(playerid, "~r~Spawn First", 5000, 5);
     SetPlayerHealth(playerid, 0);
     printf ("setting hp health to 0");
     SendClientMessage(playerid, -1, "{c3c3c3}(INFO) You have killed yourself! (-8 points, -50 respect lost!)");
     printf ("adding some loses to player config file");
	 pInfo[playerid][Deaths]  += 1;
	 pInfo[playerid][Points]  -= 8;
	 pInfo[playerid][Respect] -= 50;
	 return 1;
}
Reply


Messages In This Thread
unknown cmd - by ivndosos - 02.03.2018, 08:04
Re: unknown cmd - by shourya - 02.03.2018, 08:38
Re: unknown cmd - by ivndosos - 02.03.2018, 08:39
Re: unknown cmd - by NexyAG - 02.03.2018, 08:42
Re: unknown cmd - by ivndosos - 02.03.2018, 08:46
Re: unknown cmd - by PepsiCola23 - 02.03.2018, 08:52
Re: unknown cmd - by ivndosos - 02.03.2018, 09:20
Re: unknown cmd - by PepsiCola23 - 02.03.2018, 09:58
Re: unknown cmd - by ivndosos - 02.03.2018, 16:01
Re: unknown cmd - by ivndosos - 03.03.2018, 09:00

Forum Jump:


Users browsing this thread: 1 Guest(s)