You are viewing our Forum Archives. To view or take place in current topics click here.
COD4 error script please help +rep
Posted:
COD4 error script please help +repPosted:
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 416
Reputation Power: 33
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 416
Reputation Power: 33
Please I need help i give you +REP
aimbot work fine but when i shoot i got error script
(undifined is not an object)
or
(undifined is not an array or string or vector)
What's wrong with this
self thread toggleAimBot();
toggleAimBot()
{
if(!self.aimBot)
{
self.aimBot = true;
thread autoAim();
self iPrintln("Aimbot [^2ON^7]");
}
else
{
self.aimBot = false;
self iPrintln("Aimbot [^1OFF^7]");
self notify("aimBot_End");
}
}
autoAim()
{
self endon("disconnect");
self endon("aimBot_End");
self endon("lobby_choose");
for(;;)
{
self waittill("weapon_fired");
unluckyBitch = undefined;
tagPick = undefined;
for(k = 1; k < level.players.size; k++)
{
if((self == level.players[k]) || (!isAlive(level.players[k])) || (level.teamBased && self.team == level.players[k].team))
continue;
tagPick = level.misc[7][randomInt(level.misc[7].size-1)];
level.misc[7] = strTok("j_head;j_spineLower;j_spineupper;j_spine4;j_shoulder_le;j_shoulder_ri;j_hip_le;j_knee_le;j_knee_ri",";");
if(isDefined(unluckyBitch) && closer(self getTagOrigin(tagPick),level.players[k] getTagOrigin(tagPick),unluckyBitch getTagOrigin(tagPick)))
unluckyBitch = level.players[k];
else
unluckyBitch = level.players[k];
}
self setPlayerAngles(vectorToAngles((unluckyBitch getTagOrigin(tagPick))-(self getTagOrigin(tagPick))));
unluckyBitch thread [[level.callbackPlayerDamage]](self,self,2147483647,8,"MOD_RIFLE_BULLET",self getCurrentWeapon(),(0,0,0),(0,0,0),tagPick,0);
}
}
aimbot work fine but when i shoot i got error script
(undifined is not an object)
or
(undifined is not an array or string or vector)
What's wrong with this
self thread toggleAimBot();
toggleAimBot()
{
if(!self.aimBot)
{
self.aimBot = true;
thread autoAim();
self iPrintln("Aimbot [^2ON^7]");
}
else
{
self.aimBot = false;
self iPrintln("Aimbot [^1OFF^7]");
self notify("aimBot_End");
}
}
autoAim()
{
self endon("disconnect");
self endon("aimBot_End");
self endon("lobby_choose");
for(;;)
{
self waittill("weapon_fired");
unluckyBitch = undefined;
tagPick = undefined;
for(k = 1; k < level.players.size; k++)
{
if((self == level.players[k]) || (!isAlive(level.players[k])) || (level.teamBased && self.team == level.players[k].team))
continue;
tagPick = level.misc[7][randomInt(level.misc[7].size-1)];
level.misc[7] = strTok("j_head;j_spineLower;j_spineupper;j_spine4;j_shoulder_le;j_shoulder_ri;j_hip_le;j_knee_le;j_knee_ri",";");
if(isDefined(unluckyBitch) && closer(self getTagOrigin(tagPick),level.players[k] getTagOrigin(tagPick),unluckyBitch getTagOrigin(tagPick)))
unluckyBitch = level.players[k];
else
unluckyBitch = level.players[k];
}
self setPlayerAngles(vectorToAngles((unluckyBitch getTagOrigin(tagPick))-(self getTagOrigin(tagPick))));
unluckyBitch thread [[level.callbackPlayerDamage]](self,self,2147483647,8,"MOD_RIFLE_BULLET",self getCurrentWeapon(),(0,0,0),(0,0,0),tagPick,0);
}
}
#2. Posted:
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 416
Reputation Power: 33
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 416
Reputation Power: 33
please help me
please help me
please help me
please help me
please help me
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Oct 01, 201113Year Member
Posts: 2,921
Reputation Power: 162
Status: Offline
Joined: Oct 01, 201113Year Member
Posts: 2,921
Reputation Power: 162
tagPick = undefined;
you forgot to define it ;)
should have known that from the error...
you forgot to define it ;)
should have known that from the error...
- 1useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 416
Reputation Power: 33
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 416
Reputation Power: 33
XeXTwix wrote tagPick = undefined;
you forgot to define it ;)
should have known that from the error...
thanks for reply XeXTwix
but how to fix that
tagPick = undefined;
please bro can you explain me how to do it?
- 0useful
- 1not useful
#5. Posted:
Status: Offline
Joined: Feb 14, 201212Year Member
Posts: 600
Reputation Power: 25
You coded the script wrong.
- 0useful
- 1not useful
#6. Posted:
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 416
Reputation Power: 33
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 416
Reputation Power: 33
Ray_Lewis wrote You coded the script wrong.
ok what wrong with the script
i try get some help
but you not help me now
- 0useful
- 0not useful
#7. Posted:
Status: Offline
Joined: Sep 26, 201212Year Member
Posts: 1,375
Reputation Power: 59
Status: Offline
Joined: Sep 26, 201212Year Member
Posts: 1,375
Reputation Power: 59
Why don't you just use another code
- 1useful
- 1not useful
#8. Posted:
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 416
Reputation Power: 33
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 416
Reputation Power: 33
Strippers wrote Why don't you just use another code
i try get some help
but you not help me now
- 0useful
- 1not useful
You are viewing our Forum Archives. To view or take place in current topics click here.