SA-MP Forums Archive
help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help (/showthread.php?tid=490057)



help - DeathKing - 25.01.2014

is there a way to delay the OngamemodeExit function?
or do i have to create another? if yes example please


Re: help - Ballu Miaa - 25.01.2014

This plugin gives a function as 'Wait()' which stops the execution of any part for the time specified.

Example:
pawn Код:
public OnGameModeInIt()
{
      Wait(5); // Wait server execution for 5 seconds.
      return 1;
}