28.03.2012, 00:34
I dot under why it still closes my server
Even i add Main() {} o top of OnGameModeInit
pawn Код:
Script[gamemodes/test.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
main() {}
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(293,-543.7243,2592.7314,53.5156,270.7141,0,0,0,0,0,0); // 0
AddPlayerClass(299,-543.4693,2607.3337,53.5156,270.7141,0,0,0,0,0,0); // 1