help switching game modes
#8

right guys i started again because of the kicking here my script

// This is a comment
// uncomment the line below if you want to write a filterscript
#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

forward GMswitch();

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Gamemode Changer");
print("--------------------------------------\n");
return 1;
}

public OnGameModeInit()
{
SetTimer("GMswitch",30000,true);

public GMswitch()
{
SendRconCommand("changemode The_Mayor");
return 1;
}

#endif

but where do i add the next gm change?

also there are errors

EDIT form *2*
*C:\Users\Brad\Desktop\MINI MISSIONS\filterscripts\GamemodeChanger.pwn(23) : warning 217: loose indentation
C:\Users\Brad\Desktop\MINI MISSIONS\filterscripts\GamemodeChanger.pwn(23) : error 029: invalid expression, assumed zero
C:\Users\Brad\Desktop\MINI MISSIONS\filterscripts\GamemodeChanger.pwn(23) : error 004: function "GMswitch" is not implemented
C:\Users\Brad\Desktop\MINI MISSIONS\filterscripts\GamemodeChanger.pwn(30) : error 030: compound statement not closed at the end of file (started at line 21)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.

i fixed ssome errors but im still stuck*

once i see a full complete version of thiss and see it i will no how but im well and truley stumped so if you can complete and fix this one ill be overjoyed and happy
because then i can get on with my server also can you lay out where id put the next one if your gonna rescript so i can get a idea of how to make 100 or more
Reply


Messages In This Thread
help switching game modes - by Tommie1331 - 08.10.2010, 20:03
Re: help switching game modes - by Georgelopez1 - 08.10.2010, 20:19
Re: help switching game modes - by Tommie1331 - 08.10.2010, 20:23
Re: help switching game modes - by Georgelopez1 - 08.10.2010, 20:26
Re: help switching game modes - by Tommie1331 - 08.10.2010, 20:31
Re: help switching game modes - by Memoryz - 08.10.2010, 20:51
Re: help switching game modes - by Tommie1331 - 08.10.2010, 21:03
Re: help switching game modes - by Tommie1331 - 08.10.2010, 21:08
[No subject] - by Tommie1331 - 08.10.2010, 21:10
Re: help switching game modes - by Tommie1331 - 08.10.2010, 22:03

Forum Jump:


Users browsing this thread: 3 Guest(s)