[FilterScript] CyberPM v1.0
#9

Quote:
Originally Posted by Raimis_R
View Post
Hello CyberGhost.

pawn Code:
for(new i = 0; i < MAX_PLAYERS; i++)
        {
            SetPVarInt(i, "LastPmFrom", -1);
            SetPVarInt(i, "ReadingPMs", 0);
            SetPVarInt(i, "PmStatus", 0);
        }
You using this loop then starting FilterScript and actualy effect 0% because as always if variable don't used value is 0 and if server loading with this fs your loop SetPVar for 0 players.

Good luck in future
I thinked on this way, Lets say a guy have 10 players on hes server then he go ingame and do "rcon loadfs CyberPM" and when he load the FS it "resets" the PVar for the 10 connected players. (So it don't get buggy for them)
And for the other players who connect after the FS is laded, The PVar "resets" OnPlayerConnect

Correct me if im wrong.

CyberGhost
Reply


Messages In This Thread
CyberPM - Deleted - by Laronic - 15.05.2011, 21:23
Re: CyberPM v1.0 - by Naruto_Emilio - 15.05.2011, 21:26
Re: CyberPM v1.0 - by Laronic - 15.05.2011, 21:31
Re: CyberPM v1.0 - by lowrida018 - 16.05.2011, 01:10
Re: CyberPM v1.0 - by Laronic - 16.05.2011, 10:32
Re: CyberPM v1.0 - by AlternativeDC - 25.05.2011, 09:50
Re: CyberPM v1.0 - by Laronic - 25.05.2011, 11:55
Re: CyberPM v1.0 - by Raimis_R - 25.05.2011, 13:00
Re: CyberPM v1.0 - by Laronic - 25.05.2011, 13:09
Re: CyberPM v1.0 - by shitbird - 25.05.2011, 16:41

Forum Jump:


Users browsing this thread: 5 Guest(s)