Please help
#4

Quote:
Originally Posted by krytans
Посмотреть сообщение
Код:
if(strcmp(cmd, "/kill", true) == 0)
	{
		if(PlayerCuffed[playerid] > 0 || PlayerTied[playerid] > 0)
		{
			format(string, sizeof(string), "* %s starts to punch his own balls in an attempt to suicide, but instead pisses himself and starts crying.", PlayerRPName(playerid));
			ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
			return 1;
		}
		if(PlayerInfo[playerid][pHospital] > 0 || PlayerInfo[playerid][pTut] != 1 || PlayerInfo[playerid][pJailed] == 2 || PlayerInfo[playerid][pJailed] == 3) // COMMENTED
		{
			SendClientMessage(playerid, COLOR_GREY,"   You cannot do that at this time !");
			return 1;
		}
		if(PlayerJustDied[playerid] == 1)
		{
		    SendClientMessage(playerid, COLOR_GREY,"   You cannot do that at this time !");
			return 1;
		}
		SetPlayerHealth(playerid, 0);
  	}
You need zcmd.inc and #define <zcmd> btw, What type of gamemode you running? So i can give you /kill command
Reply


Messages In This Thread
Please help - by krytans - 13.07.2014, 03:21
Re: Please help - by LarryTiger - 13.07.2014, 03:52
Re: Please help - by krytans - 13.07.2014, 03:58
Re: Please help - by LarryTiger - 13.07.2014, 04:10

Forum Jump:


Users browsing this thread: 1 Guest(s)