SA-MP Forums Archive
Server turns off - 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: Server turns off (/showthread.php?tid=331313)



Server turns off - lukas567 - 04.04.2012

Код:
public SlagDown(objectid)
{
   if(objectid == VIPSlag[1])
   {
      RotateObject(VIPSlag[1],0, 90, 0, 3);
	  return 1;
   }
   if(objectid == VIPSlag[0])
   {
	  RotateObject(VIPSlag[0], 358.03063965,89.65124512,179.91601562, 3);
	  return 1;
   }
return 1;
}
When this function calls, server turns off...

Код:
SetTimerEx("SlagDown", 5000, false, "is", VIPSlag[1]);
VIPSlag[1] - Object ID...


Re: Server turns off - lukas567 - 04.04.2012

UP...


Re: Server turns off - SuperViper - 04.04.2012

Remove the 's' from your SetTimerEx after 'false'.