View Single Post
  #2  
Old 12-21-2013, 04:57 AM
Tim_Rocks Tim_Rocks is offline
a true gentlemen
Tim_Rocks's Avatar
Join Date: Aug 2008
Location: USA
Posts: 1,863
Tim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to behold
What I did in the past was assigned an account to an attribute. Then on the clientside, just have a check to see if the player is equal to the attribute. For better reliability though, it may be helpful to use a timeout script in case you plan on changing the attribute to another player. Hope this helps.

PHP Code:
function onCreated() {
  
this.attr[5] = "Tim_Rocks";  //Your account would go here;
}

//other functions here, just make sure to have the proper checks.

//#CLIENTSIDE
function onCreated() {
  if (
player.account != this.attr[5]) {
    
this.hide();
  } else {
    
this.show();
  }

__________________
Reply With Quote