What is the best way for me to start on GScripting? Right now I am able to script some basic stuff, but I keep getting blocked off on simplest things, and on very hard things.
Perfect Example would be this line that nobody who I asked could fix:
NPC Code:
if (timeout) {
showimg 4,hl_menu.png,60,screenheight-20;
changeimgpart 4,60,20,int((200/strtofloat(#s(client.maxhp)))*strtofloat(#s(client .curhp))),20;
changeimgvis 4,4;
timeout = .05;
}
What is strange is that if value of client.curhp is below or above client.maxhp then the bar is very screwd up.
Anyway, what is the best way for me to improove my skills?