so yeah i basically did
(styled, especially for you ...)
PHP Code:
//#CLIENTSIDE
function onWeaponFired(){
this.HTTPR = requesturl( "www.google.de" );
this.catchevent( this.HTTPR, "onReceiveData", "onGetData" );
}
function onGetData(){
player.chat = "got data";
}
i cant destroy a this.httpr, then it will say
NPC Code:
this.HTTPR.destroy();
GraalScript: Function HTTP_www.google.de_80_/.destroy not found in script of Weapon HolySheepy/Controls
setting it to NULL/"" doesnt help either :/ because when i fire the weapon the second time the return code stays at -1 and receivedata isnt called(only updating the weapon/reconnect helps)