A little problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: A little problem (
/showthread.php?tid=256602)
A little problem -
LZLo - 21.05.2011
beginning:
PHP код:
new PauseHealth[MAX_PLAYERS];
after a command:
PHP код:
PauseHealth[playerid] = GetPlayerHealth(playerid);
or
PHP код:
PauseHealth[playerid] = Float:GetPlayerHealth(playerid);
they are falied
how can i solve?
Re: A little problem -
PhantomDot1 - 21.05.2011
what are you trying to script here ?
and show the errors if you have them with compiling.
Re: A little problem -
LZLo - 21.05.2011
warning 202: number of arguments does not match definition
OR
warning 213: tag mismatch
warning 202: number of arguments does not match definition
Re: A little problem -
PhantomDot1 - 21.05.2011
can you give me the lines that belong to these errors and which line it is ?
Re: A little problem -
Kyle - 21.05.2011
You can use this
new Float:PauseHealth[MAX_PLAYERS];
GetPlayerHealth(playerid, PauseHealth[playerid]);
Re: A little problem -
LZLo - 21.05.2011
tag mismatch
Re: A little problem -
Kyle - 21.05.2011
Show me all the code on that tag mismatch line...
Re: A little problem -
LZLo - 21.05.2011
GetPlayerHealth(playerid, PauseHealth[playerid]);