Thread: How do I start?
View Single Post
  #1  
Old 05-08-2003, 11:38 PM
Androk Androk is offline
Registered User
Androk's Avatar
Join Date: Apr 2003
Posts: 614
Androk is on a distinguished road
How do I start?

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?
__________________

Name: Androk
Reply With Quote