RELIFE
#3

Quote:
Originally Posted by Don Correlli
pawn Код:
new zivot = GetPlayerHealth(GetPlayerHealth(playerid));
?

It should be like this:
pawn Код:
new zivot = GetPlayerHealth(playerid);
Код:
			if(strcmp(cmdtext, "/zivot", true)==0)
	{
		new zivot = GetPlayerHealth((playerid));
		if (zivot == 100.0)
		{
			SendClientMessage(playerid, 0xEFEFF7AA, "[!] FULL.");
		}

		new var0[150];
		SetPlayerHealth(playerid, 100.0);
		GetPlayerName(playerid, var0, 25);
		format(var1, 256, "[HEAL]: Hrac %s fulled hp (/zivot) .", var0);
		SendClientMessageToAll(0xFF0000AA, var1);
		TogglePlayerControllable(playerid,1);
      
		return 1;
	}
Server Shut down if i type /heal (/zivot)
Reply


Messages In This Thread
RELIFE - by Mikeses - 18.06.2009, 19:40
Re: RELIFE - by Correlli - 18.06.2009, 19:42
Re: RELIFE - by Mikeses - 18.06.2009, 19:48
Re: RELIFE - by mirkoiz - 18.06.2009, 21:07
Re: RELIFE - by dice7 - 18.06.2009, 21:22
Re: RELIFE - by Correlli - 18.06.2009, 21:24
Re: RELIFE - by Mikeses - 19.06.2009, 04:38
Re: RELIFE - by Grim_ - 19.06.2009, 04:59
Re: RELIFE - by Mikeses - 19.06.2009, 05:18
Re: RELIFE - by Grim_ - 19.06.2009, 05:33

Forum Jump:


Users browsing this thread: 1 Guest(s)