Need simple Help
#4

if you mean auto respawn every 5 mints so put that code in ongamemodeinit:
pawn Код:
//OnGameModeInIt
SetTimer("reSpawn",300000,true);
and where ever you want put that code but not in any callback:
pawn Код:
forward reSpawn();
public reSpawn()
{
for(new i=0; i<MAX_VEHICLES; i++)
        {
            if(UnoccupiedVehicle(i))
            {
                SetVehicleToRespawn(i);
            }
        }
return 1;
}
Reply


Messages In This Thread
Need simple Help - by HelpYou - 26.03.2014, 22:44
Re: Need simple Help - by Equuuuin0X - 26.03.2014, 22:55
Re: Need simple Help - by HelpYou - 26.03.2014, 23:00
Re: Need simple Help - by AhmedMohamed - 26.03.2014, 23:08
Re: Need simple Help - by HelpYou - 26.03.2014, 23:15
Re: Need simple Help - by Dokins - 26.03.2014, 23:24
Re: Need simple Help - by HelpYou - 26.03.2014, 23:28
Re: Need simple Help - by Dokins - 26.03.2014, 23:32
Re: Need simple Help - by HelpYou - 26.03.2014, 23:35
Re: Need simple Help - by Dokins - 26.03.2014, 23:36

Forum Jump:


Users browsing this thread: 2 Guest(s)