SA-MP Forums Archive
i use flodt:heth will give error ! - 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)
+--- Thread: i use flodt:heth will give error ! (/showthread.php?tid=438440)



i use flodt:heth will give error ! - dash5487 - 20.05.2013

hi

i use

new Floathealth;

on player text

but it will give error

error 001: expected token: ";", but found "new"


Re: i use flodt:heth will give error ! - JohnYoti - 20.05.2013

If you use new Float:health; you won't have any error.Tested it.Maybe you forgot an ;


Re: i use flodt:heth will give error ! - Dragonsaurus - 20.05.2013

As ****** said, check the line above "new Float:pHealth" and put ";" at the end of that line.
PS: Sorry if I am late...