AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Code on restart round ain't working. (https://forums.alliedmods.net/showthread.php?t=127560)

kikifrh 05-22-2010 14:05

Code on restart round ain't working.
 
Hi guys, I have a plugin that when it comes a new round, it should make some stuffs, but I isn't working, I want to fix :D
Code:

public eventRoundRestart()
{
    for ( new id = 0; id <= gMaxPlayers; ++id)
    {
        Reset(id);
    }
   
    return PLUGIN_CONTINUE;
}

I was testing alone on the server, I don't know if it works just when there are 2 or more players, but I want to let 1 or more.
Thx

Mxnn 05-22-2010 14:08

Re: Code on restart round ain't working.
 
Post the whole code.

kikifrh 05-22-2010 14:23

Re: Code on restart round ain't working.
 
fixed, thx


All times are GMT -4. The time now is 05:17.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.