Author Topic: Whats wrong?  (Read 6251 times)

0 Members and 1 Guest are viewing this topic.

darkrounge

  • Online Villain
  • ***
  • Posts: 166
    • View Profile
Whats wrong?
« on: July 01, 2012, 09:58:04 pm »
Anyone know what's wrong with this code?:

Code: [Select]
if (isnil ("bInvisibleOn")) then
{
bInvisibleOn = false;
};

if (!bInvisibleOn) then
{
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";


strExecCode = 'if (isnil ("bInvisibleOn")) then {objMYPlayer hideObject true;};';

player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;
bInvisibleOn = true;
hint "Your are now Invisible (ON).";
strExecCode = nil;
}
else
{
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";
sleep 0.1;

strExecCode = 'if (isnil ("bInvisibleOn")) then {objMYPlayer hideObject false;};';

player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;


hint "You are now Visible (OFF).";
strExecCode = nil;
};

userpc

  • Intentional Cheater
  • **
  • Posts: 45
    • View Profile
Re: Whats wrong?
« Reply #1 on: July 01, 2012, 10:19:56 pm »
Anyone know what's wrong with this code?:

Code: [Select]
if (isnil ("bInvisibleOn")) then
{
bInvisibleOn = false;
};

if (!bInvisibleOn) then
{
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";


strExecCode = 'if (isnil ("bInvisibleOn")) then {objMYPlayer hideObject true;};';

player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;
bInvisibleOn = true;
hint "Your are now Invisible (ON).";
strExecCode = nil;
}
else
{
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";
sleep 0.1;

strExecCode = 'if (isnil ("bInvisibleOn")) then {objMYPlayer hideObject false;};';

player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;


hint "You are now Visible (OFF).";
strExecCode = nil;
};

Its code do you invisible pal  :icon_rolleyes2

darkrounge

  • Online Villain
  • ***
  • Posts: 166
    • View Profile
Re: Whats wrong?
« Reply #2 on: July 01, 2012, 10:23:25 pm »
I know what it is, I'm asking whats wrong with the code.

bouncer123

  • Klass Klown
  • ***
  • Posts: 349
    • View Profile
Re: Whats wrong?
« Reply #3 on: July 01, 2012, 10:30:55 pm »
Anyone know what's wrong with this code?:

Code: [Select]
if (isnil ("bInvisibleOn")) then
{
bInvisibleOn = false;
};

if (!bInvisibleOn) then
{
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";


strExecCode = 'if (isnil ("bInvisibleOn")) then {objMYPlayer hideObject true;};';

player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;
bInvisibleOn = true;
hint "Your are now Invisible (ON).";
strExecCode = nil;
}
else
{
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";
sleep 0.1;

strExecCode = 'if (isnil ("bInvisibleOn")) then {objMYPlayer hideObject false;};';

player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;


hint "You are now Visible (OFF).";
strExecCode = nil;
};

no offense, but shouldnt someone that wants to sell his hack to a paid hack site know whats going on? :wink2

darkrounge

  • Online Villain
  • ***
  • Posts: 166
    • View Profile
Re: Whats wrong?
« Reply #4 on: July 01, 2012, 11:08:27 pm »
Anyone know what's wrong with this code?:

Code: [Select]
if (isnil ("bInvisibleOn")) then
{
bInvisibleOn = false;
};

if (!bInvisibleOn) then
{
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";


strExecCode = 'if (isnil ("bInvisibleOn")) then {objMYPlayer hideObject true;};';

player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;
bInvisibleOn = true;
hint "Your are now Invisible (ON).";
strExecCode = nil;
}
else
{
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";
sleep 0.1;

strExecCode = 'if (isnil ("bInvisibleOn")) then {objMYPlayer hideObject false;};';

player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;


hint "You are now Visible (OFF).";
strExecCode = nil;
};

no offense, but shouldnt someone that wants to sell his mod-app to a paid mod-app site know whats going on? :wink2


Nope, else I wouldn't be asking, would I?

diddly123

  • Intentional Cheater
  • **
  • Posts: 28
    • View Profile
Re: Whats wrong?
« Reply #5 on: July 01, 2012, 11:10:41 pm »
So you took the invisibility script from darky's hack and you don't know how to make it work? And you want to resell it? heh.

darkrounge

  • Online Villain
  • ***
  • Posts: 166
    • View Profile
Re: Whats wrong?
« Reply #6 on: July 01, 2012, 11:16:04 pm »
So you took the invisibility script from darky's mod-app and you don't know how to make it work? And you want to resell it? heh.

No, it works, I'm just asking what's preventing it from looping..
Darkys mod-app is awesome, that's why I'm using it.

Many of the scripts are produced by darky, majority of users here use previous/old scripts in their mod-apps..
Even MrMedic does..

Is that a problem?

robin-580

  • Online Villain
  • ***
  • Posts: 143
    • View Profile
Re: Whats wrong?
« Reply #7 on: July 01, 2012, 11:27:48 pm »
so that script works?

darkrounge

  • Online Villain
  • ***
  • Posts: 166
    • View Profile
Re: Whats wrong?
« Reply #8 on: July 01, 2012, 11:59:09 pm »
so that script works?

Yes, it does.
But there's a little thing wrong with it that I cannot workout.

robin-580

  • Online Villain
  • ***
  • Posts: 143
    • View Profile
Re: Whats wrong?
« Reply #9 on: July 02, 2012, 12:06:45 am »
so you say it works and you can be invisible when you execute it but on the other side there is still something wrong with it whats the problem ?

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Whats wrong?
« Reply #10 on: July 02, 2012, 12:11:55 am »
Let me guess , its not working on dayz?
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

diddly123

  • Intentional Cheater
  • **
  • Posts: 28
    • View Profile
Re: Whats wrong?
« Reply #11 on: July 02, 2012, 12:35:11 am »
So you took the invisibility script from darky's mod-app and you don't know how to make it work? And you want to resell it? heh.

No, it works, I'm just asking what's preventing it from looping..
Darkys mod-app is awesome, that's why I'm using it.

Many of the scripts are produced by darky, majority of users here use previous/old scripts in their mod-apps..
Even MrMedic does..

Is that a problem?
Regardless the issue with the script is easy to fix if you had the same issue with it as i did. Why don't you tell us what's wrong instead of being vague.

robin-580

  • Online Villain
  • ***
  • Posts: 143
    • View Profile
Re: Whats wrong?
« Reply #12 on: July 02, 2012, 12:40:47 am »
whats is wrong with it then diddy?

darkrounge

  • Online Villain
  • ***
  • Posts: 166
    • View Profile
Re: Whats wrong?
« Reply #13 on: July 02, 2012, 12:46:21 am »
Let me guess , its not working on dayz?

It works in dayz for me..

robin-580

  • Online Villain
  • ***
  • Posts: 143
    • View Profile
Re: Whats wrong?
« Reply #14 on: July 02, 2012, 12:47:54 am »
i just tryed it it doesnt work at all