[Help] gamemode changer
#10

oh,by the way,Im using this scripts:

Код:
//ongamemodeint
SetTimer("ResetServer", 300000, 1);
//elsewere

forward Restart();
forward mapname();
forward ResetServer();
public ResetServer()
{
	GameTextForAll("~r~ Time Limit Reached ~b~ Please Wait....", 2500 , 0);
	SetTimer("Restart", 10000 , 0);
	}


public Restart()
{
	GameTextForAll("~g~ Next Round~r~...", 2500, 0);
	SendRconCommand("changemode lvdm2"); // /gmx will just reload the mode currently loaded.
	return 1;
}


public mapname()
{
  SendRconCommand("lvdm2");
	return 1;
}

Result:
Код:
C:\Documents and Settings\user\Desktop\SAMPS\sa-mp0.3\filterscripts\test.pwn(2) : error 010: invalid function or declaration
C:\Documents and Settings\user\Desktop\SAMPS\sa-mp0.3\filterscripts\test.pwn(10) : error 017: undefined symbol "GameTextForAll"
C:\Documents and Settings\user\Desktop\SAMPS\sa-mp0.3\filterscripts\test.pwn(11) : error 004: function "SetTimer" is not implemented
C:\Documents and Settings\user\Desktop\SAMPS\sa-mp0.3\filterscripts\test.pwn(17) : error 017: undefined symbol "GameTextForAll"
C:\Documents and Settings\user\Desktop\SAMPS\sa-mp0.3\filterscripts\test.pwn(18) : error 017: undefined symbol "SendRconCommand"
C:\Documents and Settings\user\Desktop\SAMPS\sa-mp0.3\filterscripts\test.pwn(25) : error 017: undefined symbol "SendRconCommand"
C:\Documents and Settings\user\Desktop\SAMPS\sa-mp0.3\filterscripts\test.pwn(26) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.

Help plox
Reply


Messages In This Thread
[Help] gamemode changer - by Flake. - 31.01.2010, 06:25
Re: [Help] gamemode changer - by MaykoX - 31.01.2010, 07:09
Re: [Help] gamemode changer - by Flake. - 31.01.2010, 07:29
Re: [Help] gamemode changer - by Flake. - 31.01.2010, 08:02
Re: [Help] gamemode changer - by Flake. - 01.02.2010, 05:01
Re: [Help] gamemode changer - by MinZ|Spark - 17.03.2010, 12:32
Re: [Help] gamemode changer - by aircombat - 17.03.2010, 12:39
Re: [Help] gamemode changer - by aircombat - 17.03.2010, 12:42
Re: [Help] gamemode changer - by biltong - 17.03.2010, 12:42
Re: [Help] gamemode changer - by MinZ|Spark - 17.03.2010, 12:45

Forum Jump:


Users browsing this thread: 1 Guest(s)