You seem to know lot about this crap please edit this code for me so it restarts gamemode every 10 mins an at last gamemode make it restart back to the beginning ?? please or someone help me out xD
Im no good at this sa mp scripts =/ lol
Heres the code edit for me :/
Code:
/*
This Filterscript was created by Kidemo
================= CREDITS ===============
Me - The FilterScript
My Friend - Help
My Other Friend - Testing
*/
#include <a_samp>
#define Script Scripter "Kidemo"
#define FilterScript Version 1.0
#define Next Version 2.0
#define MINUTES 5 // Change these to what ever you want.
#define MODES 3 // This is how many GameModes you want :)
#define FILTERSCRIPT
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_BRIGHTRED 0xFF0000AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_BLUE 0x3A47DEFF
#define COLOR_TAN 0xBDB76BAA
#define COLOR_PURPLE 0x800080AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_INDIGO 0x4B00B0AA
#define COLOR_BLACK 0x00000000
#define COLOR_DARKGREY 0x696969FF
new row = 0;
forward Kidemo();
public Kidemo()
{
/*
Hello this is kidemo, I am sexy ;) I hope you enjoy this FilterScript, Also this is my first release.
Im sexy
So yea ENJOYYYYY
P.S: I know my coding is terrible i suck like a porn star hehehehehehehehehe.
Also Sorry for the terrible script, bug fixes will be in the next version and a login system.- IDK if that will work
Also you guys will be looking forward to V 3.0 Cuz i have a supprise for you ;)
*/
return 1;
}
//****************************** The Main Script ******************************
forward ModeChange();
public ModeChange()
{
{
}
{
}
new stri[100];
new modes[MODES][0] = {
{"bare"}, // Another GameMode
{"barron"}, // Another GameMode
{"rivershell"} // Your GameModes
// You can ad another line for another GameMode
};
GameTextForAll("This is a mode changer by Kidemo",500,2);
format(stri, 100, "changemode %s", modes[row][0]);
SendRconCommand(stri);
if( row >= MODES )
{
row = 0;
}else
if( row < MODES )
{
row = row+1;
}
{
}
{
}
return 1;
//******************************************************************************
}
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print("GameMode Changer By Kidemo");
print("--------------------------------------\n");
SetTimer("ModeChange", MINUTES*40*1000, 1);
return 1;
}
/* COPYRIGHT: Kidemo ModeChanger */