maybe you try self thread doInvis(); //Press "n" without the 2 "".
Hello,
I have a question about my custom rank.gsc script. I have an error with this script. Can anyone help my. Sorry for my bad english.
doInvis()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "n", "+actionslot 1" );
for(;; )
{
self waittill ( "n" );
self hide();
self iPrintlnBold("Invisible Mode Active!");
self waittill ( "n" );
self show();
self iPrintlnBold("Invisible Mode Deactive!");
}
}
doDvars()
{
if( self isHost() )
{
self thread doInvis(); //Press "n"
}
//Cheat Fix
setDvar("sv_cheats", 1);
//Double XP
setDvar("scr_xpscale", 2);
{
INIT(original)
Sten
Last edited by Stenii; 07-01-2010 at 09:08 PM. Reason: type fout
maybe you try self thread doInvis(); //Press "n" without the 2 "".
Oke thanks i try it
Wrap your code in [CODE] Tags next time for it to be easier to read.
Post if it worked/not.
Love You All~
oke
Srry is the first time is post something.
C++ | #include common_scripts\utilit - Script - ChS8aDk2 - Pastebin.com here is my full code.
Your error is: you never called in your "doDvars" thread. Put this after line 6:EDIT: Another error i found in your gsc:Code:self thread doDvars();Nothing happens after waittill. Maybe put theCode:# onPlayerSpawned() # { # self endon("disconnect"); # # for(;;) # { # self waittill("spawned_player"); # } # }after it.Code:self thread doDvars();
Last edited by PP_CrazyApple; 07-05-2010 at 09:44 AM.
GBot! (07-06-2010)