View Single Post
  #3  
Old 06-08-2013, 04:00 AM
Fulg0reSama Fulg0reSama is offline
Extrinsical Anomaly
Fulg0reSama's Avatar
Join Date: Sep 2009
Location: Ohio
Posts: 3,049
Fulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant future
Quote:
Originally Posted by cbk1994 View Post
Just do whatever change you need clientside. Then it only affects the current player.

Simple example:

PHP Code:
// display block.png unless you have clientr.boo set;
// if it _is_ set, then, display bcalarmclock.png instead
//#CLIENTSIDE
function onPlayerEnters() {
  if (
player.clientr.boo) {
    
this.setImg("bcalarmclock.png");
  } else {
    
this.setImg("block.png");
  }

You do the same thing for characters, substituting the various body parts for the setImg. You can change the check to check if, for example, a player has a weapon.
Interesting, good to know, thank you
You've helped me more than you know.
__________________

Careful, thoughts and opinions here scare people.

Last edited by Fulg0reSama; 06-08-2013 at 07:01 AM..
Reply With Quote