View Single Post
  #16  
Old 02-06-2010, 11:57 PM
Engine Engine is offline
Registered User
Join Date: Jan 2010
Posts: 70
Engine is on a distinguished road
And yet another problem, I cannot seem to get this to work. I have tried multiple variations of it but nothing I could conjure up in my head seems to work. Could someone point me in the right direction.
PHP Code:
function onActionServerSide(){
  for(
pl:allplayers){
    if (
players[pl.id].x in player.-5player.| && players[pl.id].y in player.y-5player.+| ) {     
      
findplayer(pl).chat pl.account;
    }
  }
}
//#CLIENTSIDE
function onKeyPressed(){
  if(
keydown(6)){
    
triggerserver("gui"nameNULL);
  }

Reply With Quote