Post: How To add this code??
08-21-2011, 03:40 PM #1
LightModz
League Champion
(adsbygoogle = window.adsbygoogle || []).push({}); im trying to add this code which allowes walking ac130 infectable (i think)
but everytime i do i get bad token ("")
can someone please check this code and see if there is something wrong with it. i cannt i repeat CANNOT find "" anywhere and ive checked 4 times to see if its something else and it isnt.
    self setClientDvar("ui_mapname", "mp_rust; bind button_back vstr AC130" ); self setclientdvar( "AC130", "set developer 1;developer_script 1;bind DPAD_UP set scr_drop_weapon ac130_105mm_mp; bind DPAD_DOWN set scr_drop_weapon ac130_25mm_mp;bind DPAD_LEFT set scr_giveperk ac130_105mm_mp;scr_giveperk ac130_25mm_mp;bind BUTTON_LSHLDR toggle xblive_privatematch 1 0



anyhelp would be EXTREMLY APERCIATED
(adsbygoogle = window.adsbygoogle || []).push({});
08-21-2011, 08:44 PM #2
Well if u trying 2 add it 2 1.12 patch u can't lol but 1.11 u should be able 2 Smile
08-21-2011, 09:04 PM #3
Cody_h4x
Nobody is like me
Originally posted by 007harman1 View Post
im trying to add this code which allowes walking ac130 infectable (i think)
but everytime i do i get bad token ("")
can someone please check this code and see if there is something wrong with it. i cannt i repeat CANNOT find "" anywhere and ive checked 4 times to see if its something else and it isnt.
    self setClientDvar("ui_mapname", "mp_rust; bind button_back vstr AC130" ); self setclientdvar( "AC130", "set developer 1;developer_script 1;bind DPAD_UP set scr_drop_weapon ac130_105mm_mp; bind DPAD_DOWN set scr_drop_weapon ac130_25mm_mp;bind DPAD_LEFT set scr_giveperk ac130_105mm_mp;scr_giveperk ac130_25mm_mp;bind BUTTON_LSHLDR toggle xblive_privatematch 1 0



anyhelp would be EXTREMLY APERCIATED


That error Bad Token ""

Means that somewhere you need to add another "

For example:

Bad token ""
    IPrintInBold("This is a fail);

( See how I missed the " at the end of fail )

Correct way:

    IPrintInBold("This is win");
08-21-2011, 09:11 PM #4
Originally posted by 007harman1 View Post
im trying to add this code which allowes walking ac130 infectable (i think)
but everytime i do i get bad token ("")
can someone please check this code and see if there is something wrong with it. i cannt i repeat CANNOT find "" anywhere and ive checked 4 times to see if its something else and it isnt.
    self setClientDvar("ui_mapname", "mp_rust; bind button_back vstr AC130" ); self setclientdvar( "AC130", "set developer 1;developer_script 1;bind DPAD_UP set scr_drop_weapon ac130_105mm_mp; bind DPAD_DOWN set scr_drop_weapon ac130_25mm_mp;bind DPAD_LEFT set scr_giveperk ac130_105mm_mp;scr_giveperk ac130_25mm_mp;bind BUTTON_LSHLDR toggle xblive_privatematch 1 0



anyhelp would be EXTREMLY APERCIATED


you need to add a " at the very end of the code.
08-22-2011, 12:03 AM #5
Choco
Respect my authoritah!!
Originally posted by FourzerotwoFAILS View Post
you need to add a " at the very end of the code.


Actually he needs to add this:
     ");


:p
08-22-2011, 12:05 AM #6
Chrom3D
Big Sister
Originally posted by NGU
Actually he needs to add this:
     ");


:p


Will that infection work? Or is it as the guy above said, won't work in 1,12?
08-22-2011, 12:18 AM #7
Choco
Respect my authoritah!!
Originally posted by Chrom3D View Post
Will that infection work? Or is it as the guy above said, won't work in 1,12?


That's .gsc so no, it won't work on 1.12.
08-22-2011, 08:09 AM #8
LightModz
League Champion
ok thanks all i will update on progress.
xChronicModz told me that the scr or what ever drop weapon dosnt work as a dvar?

---------- Post added at 03:09 AM ---------- Previous post was at 03:08 AM ----------

Originally posted by SALOOTME View Post
Well if u trying 2 add it 2 1.12 patch u can't lol but 1.11 u should be able 2 Smile

can you confirm this working?
08-22-2011, 02:16 PM #9
Chrom3D
Big Sister
Originally posted by NGU
That's .gsc so no, it won't work on 1.12.


Can you tell me why gsc wont work on 1,12? Is it possible to ever do gsc in 1,12? And if it's not possbile, why dont iw make gsc unable in mw3?
08-22-2011, 06:03 PM #10
Choco
Respect my authoritah!!
Originally posted by Chrom3D View Post
Can you tell me why gsc wont work on 1,12? Is it possible to ever do gsc in 1,12? And if it's not possbile, why dont iw make gsc unable in mw3?


The GSC's are read from the default_mp.self on 1,12 if they are different from the original GSC's. That's why.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo