Thread: Icons ? hmm
View Single Post
  #5  
Old 08-20-2009, 04:19 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by fowlplay4 View Post
Yes, requesting full scripts is against the rules. However from personal experience I learned a lot of how to script from examples provided by others.

I.e: When Yen pretty much took over Zodiac when it was in hosted, I learned a lot of how to do certain things from going through his scripting.

To do icons though you can go a few ways about it.. Currently I use player attributes.

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
player.attr[2] = "gani_name.gani,param";

Then have a gani, with script inside it that shows an image above the player's head. You can put script in a gani by opening it with wordpad, notepad, whatever text editor you use.

PHP Code:
SCRIPT
function onPlayerEnters() {
  
// draw block
  // or loop and such
}
SCRIPTEND 
Player attributes are less efficient, it is most likely better to use a loop like I showed in this post.
__________________
Reply With Quote