View Single Post
  #14  
Old 05-08-2012, 07:53 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 Loakey_P2P View Post
i fail to see why it even needs to trigger serverside or be done from a weapon for that matter . if your worried about someone hacking the flag through client you might as well just stop now cause it is gonna happen at some point and trying to prevent even one person from doing so is just wasting time .

add npc to level, set img to a key . insert code
PHP Code:
function onPlayertouchsme(){
  if(!
client.haskey == 1){
    
client.haskey=1;
  } else {
    
hide();
  }

add npc to level, set image to door . insert code
PHP Code:
function onPlayertouchsme(){
  if(
client.haskey == 1){
    
hide();
    
sleep(1.5);
    
show();
    unset(
client.haskey);
  } else {
    
show();
  }

is that not good enough ?
This is wrong in so many ways. Please ignore this post and read mine instead.
__________________
Reply With Quote