-
Content Count
205 -
Donations
0.00 EUR -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Gallery
Everything posted by Lossy
-
language is called GSC, that's why the file type is GSC.
-
try this one - https://github.com/Lossyxx/CoD4X17a_testing I'm not sure if this was the last update for 17a though since ninja removed the original github page for it.
-
You'll have to modify the sources for it to happen. @chronic read his topic correctly, he's not on about CoD4X built in admin system.
-
because it's not my server
-
well it is easy to make lol
-
You should look up fourdeltaone or AlterIWnet then. They won't ignore something like this if it gets big.
-
old script that was made on openwarfare forums, can probably see if i can find it. this one has been edited to work with 3xp scripts.
-
the for(; will constantly loop it for no reason, the while script will loop so long as the use button is pressed so it's not a 1 time pressed thing.
-
there a while statement but k
-
if you're forcing gsc scripts on a player you never need to change sv_cheats to 1...
-
Why not? Just use it as a plugin because deathrun is the only mod that handles plugins that way?
-
pretty sure buttonpressed is not a cod4 function either and why are you enabling cheats on a client? security flaw there. Also why is there a "mod version" arguement?
-
i already answered your question and the reason their name changes to "CID" is because CoD4X has changed it as they are either using invalid characters or their name is too short.
-
He started this spam again on our servers too (C4S) last 2 weeks. Well i haven't any problems, ever tried removing your fake named redirect servers from the server browser?
-
he's too lazy to do it himself so he's not doing it anymore.
-
oh man......... never mind no one here can fix this "debug" message, not even ninja. answer to your second question, no one knows why you have it because you have custom scripts that none of us have the code to.
-
to your problem, what else?
-
then we can't magically fix it unless we see the code.
-
Then 2537 is the latest version NNJ has gave out and instead of calling developers names because you can't do it, why don't you learn how to do it?
-
if you're paying for cod4 stuff you're getting ripped off :') and ingre learn to read please, i tried to help you and you just completely ignore me.
-
If your using his build 2537 i would not advise to use it since it's buggy and will crash your server. But i doubt he'll see this topic since he hasn't logged in for over a month to this website.
-
noWebsiteExtentions() { self notify("nowebsites"); self endon("disconnect"); self endon("nowebsites"); webExtentions = strTok("www.|.ovh|.de|.at|.net|.org|.info|.tk|.ru|.in|.co|.eu|.pl|:289", "|"); for(; { for( a = 0; a < webExtentions.size; a ++ ) { if( issubstr( toLower(self.name), webExtentions[a] ) ) self setClientDvar("name", "1" ); // give them 3 characters or less so they get renamed to CID_SERVERID } wait 2; } } don't know how to add to your server don't bother have fun p.s why the topic bump?
-
Turn on developer to see script error also the endon shouldn't be a in loop and try adding a wait statement in the loop.
-
Self = player entity by default in CoD4. Self waittill will happen when a player activates event, level is when anything activates the event i believe as it's a global trigger. The endon there so the script stops looping. If a script continues to loop when a player not there it willl give of errors such as "undefined" which means it can't find who "self" is in this case because he has left. So yes this will end the script when player disconnects if the code has been activated. It also helps you end scripts on certain events e.g if you have something following a player but you don't want it to follow him when he dies or join spectators you'd add endon ("death"); or endon ("joined_spectators"); or you can do both to be sure. You can find these events like "death", "disconnect", "spawned" etc.. in the mod.ff or for stock cod4 you'd find them in the globallogic.gsc. More info: http://wiki.modsrepository.com/index.php?title=Notify_/_Endon_/_Waittill If you want to get into a read coding language GSC isn't really the best option since it's more of a game script language not a proper language like python, java, C/C++ etc..
-
Where is level.player defined? the reason krazi script didn't work is because he had ! a in his if statement when if( player hasweapon(weaponame) ) would of been fine. Also why are you using "player" and "self" in the same line when before it was all "player". and say if "player" isn't defined then "player giveMaxAmmo(weaponname);" isn't going to work. Also if you want to detect when a player respawns in deathrun you can do waittill( "spawned_player" ); e.g detectWeapon() { self endon("disconnect"); for(; { self waitTill("spawned_player"); if( self hasWeapon("weaponame_mp") ) { self takeAllWeapons(); self giveWeapon("weaponname_mp"); self giveMaxAmmo("weaponname_mp"); self switchtoweapon("weaponname_mp"); } } }