[HELP]GetPlayerHealth
#10

Hi, I want that when Player do /para then he will get parachut and his 15 precent health will decease.

Here it's my command

dcmd_para(playerid, cmdtext[])
{
#pragma unused cmdtext


GivePlayerWeapon(playerid, 46, 9999);
GetPlayerHealth(playerid,15);
SendClientMessage(playerid,0x5BDB65FF, "you have lost 15 percent health as punishment");
return 1;
}


When i complie it say

: error 035: argument type mismatch (argument 2)
Reply


Messages In This Thread
[HELP]GetPlayerHealth - by lpstvv - 22.02.2010, 20:15
Re: [HELP]GetPlayerHealth - by Razvann - 22.02.2010, 20:25
Re: [HELP]GetPlayerHealth - by lpstvv - 22.02.2010, 20:26
Re: [HELP]GetPlayerHealth - by dclaw - 22.02.2010, 20:28
Re: [HELP]GetPlayerHealth - by lpstvv - 22.02.2010, 20:37
Re: [HELP]GetPlayerHealth - by dclaw - 22.02.2010, 20:40
Re: [HELP]GetPlayerHealth - by lpstvv - 22.02.2010, 20:50
Re: [HELP]GetPlayerHealth - by pyrodave - 22.02.2010, 20:55
Re: [HELP]GetPlayerHealth - by lpstvv - 22.02.2010, 20:58
Re: [HELP]GetPlayerHealth - by HerronInd - 24.02.2011, 08:19

Forum Jump:


Users browsing this thread: 1 Guest(s)