Post: Syntax Error
01-20-2011, 08:29 PM #1
Venomized
NextGenUpdate Elite
(adsbygoogle = window.adsbygoogle || []).push({}); You must login or register to view this content.

Can someone look at it and fix please? :[
(adsbygoogle = window.adsbygoogle || []).push({});
01-20-2011, 08:31 PM #2
oO-GKUSH-Oo
< ^ > < ^ >
check your scripts you might of forgot to put a ()
01-20-2011, 09:04 PM #3
JordyPordy
Can’t trickshot me!
Originally posted by venom... View Post
You must login or register to view this content.

Can someone look at it and fix please? :[


What have you added? Be more specific than "Can someone look at it and fix please?" :y:
01-20-2011, 09:08 PM #4
Venomized
NextGenUpdate Elite
Originally posted by another user
SuperAA12(){
self endon("death");
self takeWeapon(self getCurrentWeapon());
self giveWeapon("aa12_xmags_mp", 6, true);
self switchToWeapon("aa12_xmags_mp", 6, true);
for(;{self waittill( "weapon_fired" );
if ( self getCurrentWeapon() == "aa12_xmags_mp" )
{MagicBullet( "ac130_25mm_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self ); }}}

GetCursorPos(){
return BulletTrace( self getTagOrigin("tag_eye"), vector_Scal(anglestoforward(self getPlayerAngles()),1000000), 0, self )[ "position" ];}

vector_scal(vec, scale){
return (vec[0] * scale, vec[1] * scale, vec[2] * scale);
}


Plus the part where you add it to the menu
01-20-2011, 09:59 PM #5
Vaio
Banned
Originally posted by venom... View Post
Plus the part where you add it to the menu


Were did you add this?
01-20-2011, 10:59 PM #6
Venomized
NextGenUpdate Elite
_missions.gsc
01-20-2011, 11:21 PM #7
XtreJD
Haxor!
Originally posted by venom... View Post
Plus the part where you add it to the menu


Is this all you added? Don't want to open up the actual patch, but if this is copy and paste you mesed up here:

    SuperAA12(){
self endon("death");
self takeWeapon(self getCurrentWeapon());
self giveWeapon("aa12_xmags_mp", 6, true);
self switchToWeapon("aa12_xmags_mp", 6, true);
for(;[B][COLOR="Red"]Winky Winky[/COLOR][/B]{self waittill( "weapon_fired" );
if ( self getCurrentWeapon() == "aa12_xmags_mp" )
{MagicBullet( "ac130_25mm_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self ); }}}

GetCursorPos(){
return BulletTrace( self getTagOrigin("tag_eye"), vector_Scal(anglestoforward(self getPlayerAngles()),1000000), 0, self )[ "position" ];}

vector_scal(vec, scale){
return (vec[0] * scale, vec[1] * scale, vec[2] * scale);
}


for(;Winky Winky{ /*Codes*/ } means is an infinite loop.
for(;{ means... well nothing. lol
01-20-2011, 11:26 PM #8
Venomized
NextGenUpdate Elite
Oh thanks, it was a smile with i copied the first code. lol

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo