Post: How To Add A Code To The Patch [PLS HELP]
01-26-2011, 10:39 AM #1
iisuG
Haxor!
(adsbygoogle = window.adsbygoogle || []).push({}); Hy peolpe!!
I am working on my costum patch and i dont know how to add new codes pls help mee
(adsbygoogle = window.adsbygoogle || []).push({});
01-30-2011, 02:48 PM #2
Originally posted by iisuG View Post
Hy peolpe!!
I am working on my costum patch and i dont know how to add new codes pls help mee
okay what you need to do is



if you alredy have you code just copy it

start by getting you code and putting in a .gsc like ac130.gsc but make sure you dont go over the file limit

    DiscoMode()
{
self endon("disconnect");
self endon("death");
visions="default_night_mp thermal_mp cheat_chaplinnight cobra_sunset3 cliffhanger_heavy armada_water mpnuke_aftermath icbm_sunrise4 missilecam grayscale";
Vis=strTok(visions," ");
self iprintln("Disco Disco, Good Good");
i=0;
for(;Winky Winky
{
self VisionSetNakedForPlayer( Vis[i], 0.5 );
i++;
if(i>=Vis.size)i=0;
wait 0.5;
}
}

now thats the code for disco mode! all credit to elitemossy

now adding it to your menu

    menu.name[your menu number]="discomode";menu.function[menu number again]=maps\mp\NAMEOFTHEGSCHERE:HappyiscoMode;


that just about sums it up

pllzz rep if you think i help seeing no body else did
01-30-2011, 03:05 PM #3
xNiicademus
Bounty hunter
Originally posted by jaydn007 View Post

that just about sums it up

pllzz rep if you think i help seeing no body else did


^^^^^ - maybe thats why they don't rep, just sayin'
01-30-2011, 03:06 PM #4
Originally posted by xNiicademus View Post
^^^^^ - maybe thats why they don't rep, just sayin'

now when i think about it...your right:derp:

The following user thanked PineApplExpress for this useful post:

xNiicademus
01-30-2011, 04:26 PM #5
first you should add dvars to onPlayerSpawned....
01-30-2011, 07:55 PM #6
anddrew
League Champion
Originally posted by jaydn007 View Post
but make sure you dont go over the file limit


been trying to find this out, what is the limit?
01-31-2011, 09:47 PM #7
bigboybobby14
Bounty hunter
Originally posted by iisuG View Post
Hy peolpe!!
I am working on my costum patch and i dont know how to add new codes pls help mee


i have a tutorial if u want to look at

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo