/*=================================================================== If you uncomment the following line YSI will be compiled with filterscript options, this is VERY important if you do use it as one, otherwise certain features may not work===================================================================*///#define FILTERSCRIPT/*=================================================================== If you uncomment one of the following lines YSI will not include, those files in compiling. So if you E.G. dont use objects in your script, you could uncomment the line #define YSI_NO_OBJECTS, and it would leave the Object files out. Note: Not every combination has been tested (there are currently 131072 combinations, if you find one which doesn't compile due to cross-file dependencies please say. Also note that excluding either checkpoints or areas will exclude properties instantly. You can also exclude all unwritten new libraries for future compatability using: #define YSI_VERSION <version> Where version is the version you are compiling against, current ids are: 2 - YSI 0.2 or earlier 3 - YSI 0.3===================================================================*///#define YSI_NO_TEXT//#define YSI_NO_COMMANDS//#define YSI_NO_SYSTEM//#define YSI_NO_TRACKING//#define YSI_NO_CALLBACKS//#define YSI_NO_MASTER//#define YSI_NO_CLASSES//#define YSI_NO_PICKUPS//#define YSI_NO_STANDARD//#define YSI_NO_MODULES//#define YSI_NO_OBJECTS//#define YSI_NO_RACES//#define YSI_NO_CHECKPOINTS//#define YSI_NO_AREAS//#define YSI_NO_GROUPS//#define YSI_NO_PROPERTIES//#define YSI_NO_ZONES#include <YSI>#if defined FILTERSCRIPTScript_OnFilterScriptInit(){ print("\n------------------------------------"); print(" YSI Filterscript by your name here"); print("------------------------------------\n"); ycmd(kill); ycmd("mycommand"); Langs_AddLanguage("EN", "English"); Langs_AddFile("core", "YSI"); return 1;}Script_OnFilterScriptExit(){ return 1;}#elsemain(){ print("\n--------------------------------"); print(" YSI Gamemode by your name here"); print("--------------------------------\n");}#endifText_RegisterTag(tag_with_MY_KILL_HELP);forward ycmd_kill(playerid, params[], help);public ycmd_kill(playerid, params[], help){ if (help) Text_Send(playerid, "MY_KILL_HELP"); else SetPlayerHealth(playerid, 0.0); return 1;}Script_OnGameModeInit(){ // Don't use these lines if it's a filterscript #if !defined FILTERSCRIPT SetGameModeText("Blank Script"); AddStaticVehicleEx(487, 2040.0568, 1343.4222, 10.6719, 0.0, 0, 0, 20); AddStaticVehicleEx(435, 2040.0568, 1354.4222, 10.6719, 0.0, 0, 0, 20); // long trailer - 1 AddStaticVehicleEx(515, 2040.0568, 1365.4222, 10.6719, 0.0, 0, 0, 20); // roadtrain Class_Add(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); ycmd(kill); ycmd("mycommand"); Langs_AddLanguage("EN", "English"); Langs_AddFile("core", "YSI"); #endif new str[32]; for (new i = 0; i < 55; i++) { GetWeaponName(i, str, sizeof (str)); printf("Weapon %d: %s = %d", i, str, bernstein(str)); } CreateGate(969, 2100.2844, 1277.7847, 10.0, 2092.2883, 1278.1556, 10.0, .rz = 180.0); return 1;}Command_(mycommand){ // Your code here return 1;}Script_OnGameModeExit(){ return 1;}Script_OnPlayerRequestClass(playerid, classid){ SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1;}Script_OnPlayerRequestSpawnEx(playerid, classid){ return 1;}Script_OnPlayerConnect(playerid){ return 1;}Script_OnPlayerDisconnect(playerid, reason){ #pragma unused playerid, reason return 1;}Script_OnPlayerSpawn(playerid){ return 1;}Script_OnPlayerDeath(playerid, killerid, reason){ return 1;}Script_OnVehicleSpawn(vehicleid){ return 1;}Script_OnVehicleDeath(vehicleid, killerid){ return 1;}Script_OnPlayerText(playerid, text[]){ return 1;}Script_OnPlayerPrivmsg(playerid, recieverid, text[]){ return 1;}Script_OnPlayerCommandText(playerid, cmdtext[]){ return 0;}Script_OnPlayerInfoChange(playerid){ return 1;}Script_OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){ return 1;}Script_OnPlayerExitVehicle(playerid, vehicleid){ return 1;}Script_OnPlayerStateChange(playerid, newstate, oldstate){ return 1;}Script_OnPlayerEnterCheckpointEx(playerid, cpid){ return 1;}Script_OnPlayerLeaveCheckpointEx(playerid, cpid){ return 1;}Script_OnPlayerEnterRaceCheckpoint(playerid){ return 1;}Script_OnPlayerLeaveRaceCheckpoint(playerid){ return 1;}Script_OnRconCommand(cmd[]){ return 1;}Script_OnObjectMoved(objectid){ return 1;}Script_OnPlayerObjectMoved(playerid, objectid){ return 1;}Script_OnPlayerPickUpPickup(playerid, pickupid){ return 1;}Script_OnPlayerSelectedMenuRow(playerid, row){ return 1;}Script_OnPlayerExitedMenu(playerid){ return 1;}Script_OnVehicleMod(vehicleid, componentid){ return 1;}Script_OnVehiclePaintjob(vehicleid, paintjobid){ return 1;}Script_OnVehicleRespray(vehicleid, color1, color2){ return 1;}Script_OnPlayerLogin(playerid, yid){ return 1;}Script_OnPlayerLogout(playerid, yid){ return 1;}Script_OnPlayerEnterArea(playerid, areaid){ return 1;}Script_OnPlayerLeaveArea(playerid, areaid){ return 1;}Script_OnRaceEnd(raceid){ return 1;}Script_OnPlayerExitRace(playerid, raceid){ return 1;}Script_OnPlayerFinishRace(playerid, raceid, position, prize, time){ return 1;}Script_OnDynamicObjectMoved(objectid){ return 1;}Script_OnPlayerKeyStateChange(playerid, newkeys, oldkeys){ return 1;}