GetPlayerHealth? Confused.
#1

Can somebody give me some help with GetPlayerHealth

Here's the problem. I try and compile my script, everythings fine, apart from this:

pawn Код:
new Float:pHealth;
    GetPlayerHealth(id, pHealth);
    SetPlayerHealth(id, pHealth - 10);
The error is:

Код:
C:\Documents and Settings\Ash B Funky\Desktop\Trucking World Server Project Files\filterscripts\admin.pwn(99) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Ash B Funky\Desktop\Trucking World Server Project Files\filterscripts\admin.pwn(100) : error 035: argument type mismatch (argument 1)
I dont get it, it worked on my other script that i compiled yesterday.
Reply


Messages In This Thread
GetPlayerHealth? Confused. - by Ash. - 27.09.2010, 18:31
Re: GetPlayerHealth? Confused. - by Mike_Peterson - 27.09.2010, 18:34
Re: GetPlayerHealth? Confused. - by nepstep - 27.09.2010, 18:37
Re: GetPlayerHealth? Confused. - by Ash. - 27.09.2010, 18:37
Re: GetPlayerHealth? Confused. - by legodude - 27.09.2010, 19:13
Re: GetPlayerHealth? Confused. - by Ash. - 27.09.2010, 19:21
Re: GetPlayerHealth? Confused. - by Mike_Peterson - 27.09.2010, 19:36

Forum Jump:


Users browsing this thread: 1 Guest(s)