View Single Post
  #13  
Old 05-08-2012, 07:03 AM
Loakey_P2P Loakey_P2P is offline
SL Oldbie
Loakey_P2P's Avatar
Join Date: Apr 2006
Location: U.S.A
Posts: 137
Loakey_P2P is an unknown quantity at this point
Send a message via AIM to Loakey_P2P Send a message via Yahoo to Loakey_P2P
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 ?
__________________
Shaded Legend Playerworld
-Past accounts - LoakeyTheElf - Loakey_P2P
-Past Servers - Rune - Sparitoria - Shaded Legends
-Past Sl Jobs * ET/LAT/NAT/LAT Admin/Developer/Admin/Head Admin/Asst. Manager/Manager
-Current Job - Retired

*Sorry you must have mistaken me for someone that cares .
Reply With Quote