Post: help in Z_L
07-20-2015, 09:52 AM #1
ksa_7ooo7
Maggbot timeout!
(adsbygoogle = window.adsbygoogle || []).push({}); i tried to add this code to function but it did not work :(

    {
if (self.money >= level.itemPrice["Human"]["Weapons"]["AlienGuns"])


{
self.money -= level.itemPrice["Human"]["Weapons"]["AlienGuns"];



can anyone add it into this function and tell me what he did ?

    Zombie(owner,origin,angles) 
{
self endon("disconnect");
self endon("death");
self endon("zomboz");
self iPrintlnbold("^1Zombie^7 Spawned Watch Out!!!");
for(;Winky Winky
{
M = spawn("script_model",self.origin +(0, 0, 999));
M.angles = self.angles;
M setModel("c_usa_mp_seal6_smg_fb");
P = spawn("script_model",M.origin,1);
P setModel("t6_wpn_supply_drop_ally");
P.angles = (90,0,0);
P Hide();
P.script_noteworthy = "care_package";
P linkto( M );

M thread followGuy();
self notify("zomboz");
wait 1;
}
}
followGuy( )
{
self endon("disconnect");
self endon("death");
for(;Winky Winky
{
Distancee = 999999999;
LuckyGuy = undefined;

foreach( player in level.players )
{
if(distancesquared(self.origin, player.origin) > TmPdist)
{
wait 0.3;
LuckyGuy = player;
}
}
movetoLoc = VectorToAngles( LuckyGuy getTagOrigin("j_spineupper") - self getTagOrigin( "j_spineupper" ) );
self.angles = (0, movetoLoc[1], 0);
self MoveTo(LuckyGuy.origin, (distance(self.origin, LuckyGuy.origin) / 150));
wait 0.08;
}

}
(adsbygoogle = window.adsbygoogle || []).push({});
07-20-2015, 11:33 AM #2
FRINZ
I’m too L33T
Zombie(owner,origin,angles)
{
if (self.money >= level.itemPrice["Human"]["Weapons"]["AlienGuns"])


{
self.money -= level.itemPrice["Human"]["Weapons"]["AlienGuns"];
self endon("disconnect");
self endon("death");
self endon("zomboz");
self iPrintlnbold("^1Zombie^7 Spawned Watch Out!!!");
for(;Winky Winky
{
M = spawn("script_model",self.origin +(0, 0, 999));
M.angles = self.angles;
M setModel("defaultactor");
P = spawn("script_model",M.origin,1);
P setModel("t6_wpn_supply_drop_ally");
P.angles = (90,0,0);
P.script_noteworthy = "care_package";
P linkto( M );
M thread followGuy();
self notify("zomboz");
wait 1;
}
}
}


followGuy( ) //syntax line 3109
{
self endon("disconnect");
self endon("death");
for(;Winky Winky
{
Distancee = 999999999;
LuckyGuy = undefined;

foreach( player in level.players )
{
if(distancesquared(self.origin, player.origin) > TmPdist)
{
wait 0.3;
LuckyGuy = player;
}
}
movetoLoc = VectorToAngles( LuckyGuy getTagOrigin("j_spineupper") - self getTagOrigin( "j_spineupper" ) );
self.angles = (0, movetoLoc[1], 0);
self MoveTo(LuckyGuy.origin, (distance(self.origin, LuckyGuy.origin) / 150));
wait 0.08;
}

}
07-20-2015, 11:58 AM #3
ksa_7ooo7
Maggbot timeout!
it does not work :(
07-20-2015, 12:24 PM #4
FRINZ
I’m too L33T
Originally posted by 7ooo7 View Post
it does not work :(


wat dosent? u should hv syntax dont know about working i get into it in a bit.
07-25-2015, 06:46 PM #5
ksa_7ooo7
Maggbot timeout!
Originally posted by FRlNZ View Post
wat dosent? u should hv syntax dont know about working i get into it in a bit.


when i put it the GSC does not inject :(

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo