setplayerhealth
#1

i searched alot but i couldn't find anything, i want a basic sethealth command, like this /sethealth id amount
i searched the wiki but i only found the /heal commands that set your health to a preset number, which i don't need them.

Код:
Public onplayerCommandText (playerid,cmdtext[])
{
	 if(strcmp(cmdtext, "/setplayerhealth))
	  SetPlayerHealth(playerid, float);
	  return 1;
	  
  }
this isn't working, i'm new to scripting.
Reply


Messages In This Thread
setplayerhealth - by ArcNuke - 31.05.2015, 11:45
Re: setplayerhealth - by J0sh... - 31.05.2015, 11:46
Re: setplayerhealth - by amirm3hdi - 31.05.2015, 11:47
Re: setplayerhealth - by Konstantinos - 31.05.2015, 11:55
Re: setplayerhealth - by SoFahim - 31.05.2015, 13:15
Re: setplayerhealth - by J0sh... - 31.05.2015, 13:27
Re: setplayerhealth - by SoFahim - 31.05.2015, 15:33
Re: setplayerhealth - by bgedition - 31.05.2015, 15:38
Re: setplayerhealth - by Konstantinos - 31.05.2015, 15:42
Re: setplayerhealth - by bgedition - 31.05.2015, 15:44

Forum Jump:


Users browsing this thread: 2 Guest(s)