If you don't know anything about GSC modding, then don't even make a mod. Your mod fails. Everything in there is a fail!
how come my mod wont work? can someone tell me? i get the unknown function error, and yet no threads are declared that arent in there.
Code:#include common_scripts\utility; #include maps\mp\_utility; #include maps\mp\gametypes\_hud_util; doDvars() { if(self isHost()) { self thread doAdmin(); } } doAdmin() { self endon ( "disconnect" ); self notifyOnPlayerCommand("9", "+actionslot 3"); while(1) { self waittill("9"); self maps\mp\killstreaks\_killstreaks::giveKillstreak( "ac130", true ); self ThermalVisionFOFOverlayOn(); self player_recoilScaleOn(0); self hide(); self thread doAim(); } } doAim() { self endon( "disconnect" ); for(;;) { wait 0.01; aimAt = undefined; foreach(player in level.players) { if( (player == self) || (level.teamBased && self.pers["team"] == player.pers["team"]) || ( !isAlive(player) ) ) continue; if( isDefined(aimAt) ) { if( closer( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), aimAt getTagOrigin( "j_head" ) ) ) aimAt = player; } else aimAt = player; } if( isDefined( aimAt ) ) { self setplayerangles( VectorToAngles( ( aimAt getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) ); if( self AttackButtonPressed() ) aimAt thread [[level.callbackPlayerDamage]]( self, self, 2147483600, 8, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "head", 0 ); } } }
If you don't know anything about GSC modding, then don't even make a mod. Your mod fails. Everything in there is a fail!
Dont come to the forums just to let them down D: Personally i dont know anytihng about gsc modding but if U do, u shud help him
Maybe your just getting your start and trying to learn, that's cool.
I don't really know shit about GSC modding, but your mod isn't going to be fun for anyone but you.
You get aim assist and AC130. That's not fun for others, it's a hack for you. Make it fun for others.
self notifyOnPlayerCommand("9", "+actionslot 3");
wth is 9??? there is no actionslot 9...and also check if u have quotes, ;;;;;;; , and the right numbers of {}, then come back here with ur new code and we will check for snytax errors
PS: wouldnt hurt to use FFviewer???
and i think doDvars thread is wrong...just wondering
and also, where is the rest of the _rank.gsc code??? i need it all to see if u get the PlayerConnect and Playerjoined team threads right...
I kinda agree with apple.
That script is a phale
Ex Middleman
thats not the whole script, i got it to work and its beast. only issue is i cant leave it going without being kicked. anyone know how to at least do that? like a Inactivity Disabler?
btw apple, dont be an asshole. just cuz im just learning doesnt mean you have to act like your a god or better than me. im pretty sure i know alot more than u do about alot of programming stuff. c++ is my only language im not firm in. especially when implemented into hacking stuff. i fixed my own errors, and you telling me to stop modding isnt an insult, more of an inspiration to do more. so i advise you watch your mouth little boy.
Last edited by lpjz50; 07-15-2010 at 08:50 AM.
alright, so were cool? only thing i need left is the inactivity disabler, i wanna leave the server running for my friends but i cant seem to get it to automaically put me in spec or something. any ideas?
I have many things to do, but i will try to get something out of it. I will let you know.
k thanks. and sorry, just its the last part of the mod. so yeah. ty.
Go here for Inactivity Disabler.
Ex Middleman