Quote:
Originally Posted by 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 ?
|
This is wrong in so many ways. Please ignore this post and read mine instead.