how to use the function onObjectShot

Started by longhackmc, Sep 11, 2016, 02:52 AM

Previous topic - Next topic

longhackmc

I tried using object.Delete () in onObjectShot
but they do not work when I use a weapon.
Without any error messages
sorry my language bad

KAKAN

There's no function called weapon.Delete() how do you expect it to work then?
oh no

longhackmc

you can give me a detailed example of the use of arms to remove the object
tks

DizzasTeR

Are you sure that the object you are shooting tracks shots?
myObject <- CreateObject( ... );
myObject.TrackingShots = true; // This

longhackmc

I have created a function
and assigns a <- CreateObject ();

how dark can use the value of "a" in a different function?

KAKAN

Quote from: longhackmc on Sep 12, 2016, 06:23 AMI have created a function
and assigns a <- CreateObject ();

how dark can use the value of "a" in a different function?
a <- "MY VARIBLE IS BERI PR0";
function onScriptLoad(){
print( a );
MyFunction();
}
function MyFunction(){
print(a);
}
oh no

longhackmc

Quote from: KAKAN on Sep 12, 2016, 06:41 AM
Quote from: longhackmc on Sep 12, 2016, 06:23 AMI have created a function
and assigns a <- CreateObject ();

how dark can use the value of "a" in a different function?
a <- "MY VARIBLE IS BERI PR0";
function onScriptLoad(){
print( a );
MyFunction();
}
function MyFunction(){
print(a);
}
hmmm, i mean

function MyFuncition()
{
a <- " HOW";
}
function MyOtherFuncition()
{
print(a+" to use variables a");
}
How to do so that it can act like?
in addition, my language there are special characters such as (á, â, umbrella, E, E ...)
no way to display those characters in the game?
Tks

KAKAN

No, the game( as well as the server ) doesn't support Unicode characters( I think, but I might be wrong. ), so, you can't use names like: á, â etc
oh no

longhackmc

Quote from: KAKAN on Sep 12, 2016, 08:00 AMNo, the game( as well as the server ) doesn't support Unicode characters( I think, but I might be wrong. ), so, you can't use names like: á, â etc
yeap, So while things do not?
how to use one variable is assigned in another function

KAKAN

Quote from: longhackmc on Sep 12, 2016, 09:17 AM
Quote from: KAKAN on Sep 12, 2016, 08:00 AMNo, the game( as well as the server ) doesn't support Unicode characters( I think, but I might be wrong. ), so, you can't use names like: á, â etc
yeap, So while things do not?
how to use one variable is assigned in another function
I still can't get you.
You can just use the variable name to get it's data( if it's a global one )
oh no