Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-22-2010, 11:23 AM
Entrok Entrok is offline
Registered User
Join Date: Sep 2009
Location: Sweden
Posts: 51
Entrok is on a distinguished road
Send a message via MSN to Entrok
Wont update

I am working on a gui sys for a server and got a problem, im using client.ammo, its showing the img correctly and all, but it wont update if i have client.ammo = 1, and change to 10, then i need to update the script for it to change..

So thats what i need help with right now, so it will update, some one?
PHP Code:
//#CLIENTSIDE
function onCreated()
{
  for (
i=1i<client.ammoi+=1)
  {
    
showimg(200+i"mercia_newgui.png"screenwidth 302 -(i*4), screenheight 75);
    
changeimgpart(200+i220137510);
    
changeimgvis(200+i5);
  }
  
setshape(13232*client.ammo);
  
setTimer(.5);

Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:07 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.