Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This is a comment
- // uncomment the line below if you want to write a filterscript
- //#define FILTERSCRIPT
- #include <a_samp>
- #include <streamer>
- #include <YSI\y_ini>
- #include <YSI\y_timers>
- #include <zcmd>
- #include <RouteConnector>
- #include "../include/gl_common.inc"
- #include <a_mysql>
- #include <a_sampdb>
- #include <boxmessage>
- #include <sscanf2>
- #include <FCNPC>
- #pragma tabsize 0
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Blank Filterscript by your name here");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" Blank Gamemode by your name here");
- print("----------------------------------\n");
- }
- #endif
- public OnGameModeInit()
- {
- new Text:TDEditor_TD0;
- new Text:TDEditor_TD1;
- new Text:TDEditor_TD2;
- new Text:TDEditor_TD3;
- new Text:TDEditor_TD4;
- TDEditor_TD0 = TextDrawCreate(-8.125000, -1.333317, "box");
- TextDrawLetterSize(TDEditor_TD0, 0.000000, 14.500000);
- TextDrawTextSize(TDEditor_TD0, 672.000000, 0.000000);
- TextDrawAlignment(TDEditor_TD0, 1);
- TextDrawColor(TDEditor_TD0, -1);
- TextDrawUseBox(TDEditor_TD0, 1);
- TextDrawBoxColor(TDEditor_TD0, 255);
- TextDrawSetShadow(TDEditor_TD0, 0);
- TextDrawSetOutline(TDEditor_TD0, 0);
- TextDrawBackgroundColor(TDEditor_TD0, 255);
- TextDrawFont(TDEditor_TD0, 1);
- TextDrawSetProportional(TDEditor_TD0, 1);
- TextDrawSetShadow(TDEditor_TD0, 0);
- TDEditor_TD1 = TextDrawCreate(165.625000, 0.416681, "chao_mung_den_voi");
- TextDrawLetterSize(TDEditor_TD1, 0.829375, 3.425833);
- TextDrawAlignment(TDEditor_TD1, 1);
- TextDrawColor(TDEditor_TD1, -1);
- TextDrawSetShadow(TDEditor_TD1, 0);
- TextDrawSetOutline(TDEditor_TD1, 0);
- TextDrawBackgroundColor(TDEditor_TD1, 255);
- TextDrawFont(TDEditor_TD1, 2);
- TextDrawSetProportional(TDEditor_TD1, 1);
- TextDrawSetShadow(TDEditor_TD1, 0);
- TDEditor_TD2 = TextDrawCreate(36.875000, 29.000040, "San_Andreas_-_Dayz_Survival");
- TextDrawLetterSize(TDEditor_TD2, 1.629375, 8.174160);
- TextDrawAlignment(TDEditor_TD2, 1);
- TextDrawColor(TDEditor_TD2, 16711935);
- TextDrawSetShadow(TDEditor_TD2, 0);
- TextDrawSetOutline(TDEditor_TD2, 0);
- TextDrawBackgroundColor(TDEditor_TD2, 255);
- TextDrawFont(TDEditor_TD2, 0);
- TextDrawSetProportional(TDEditor_TD2, 1);
- TextDrawSetShadow(TDEditor_TD2, 0);
- TDEditor_TD3 = TextDrawCreate(-2.500000, 316.583801, "box");
- TextDrawLetterSize(TDEditor_TD3, 0.000000, 14.500000);
- TextDrawTextSize(TDEditor_TD3, 679.000000, 0.000000);
- TextDrawAlignment(TDEditor_TD3, 1);
- TextDrawColor(TDEditor_TD3, -1);
- TextDrawUseBox(TDEditor_TD3, 1);
- TextDrawBoxColor(TDEditor_TD3, 255);
- TextDrawSetShadow(TDEditor_TD3, 0);
- TextDrawSetOutline(TDEditor_TD3, 0);
- TextDrawBackgroundColor(TDEditor_TD3, 255);
- TextDrawFont(TDEditor_TD3, 1);
- TextDrawSetProportional(TDEditor_TD3, 1);
- TextDrawSetShadow(TDEditor_TD3, 0);
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public 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;
- }
- public OnPlayerConnect(playerid)
- {
- new Text:TDEditor_TD0;
- new Text:TDEditor_TD1;
- new Text:TDEditor_TD2;
- new Text:TDEditor_TD3;
- new Text:TDEditor_TD4;
- TextDrawShowForPlayer(playerid, TDEditor_TD0);
- TextDrawShowForPlayer(playerid, TDEditor_TD1);
- TextDrawShowForPlayer(playerid, TDEditor_TD2);
- TextDrawShowForPlayer(playerid, TDEditor_TD3);
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- new Text:TDEditor_TD0;
- new Text:TDEditor_TD1;
- new Text:TDEditor_TD2;
- new Text:TDEditor_TD3;
- new Text:TDEditor_TD4;
- TextDrawHideForPlayer(playerid, TDEditor_TD0);
- TextDrawHideForPlayer(playerid, TDEditor_TD1);
- TextDrawHideForPlayer(playerid, TDEditor_TD2);
- TextDrawHideForPlayer(playerid, TDEditor_TD3);
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/mycommand", cmdtext, true, 10) == 0)
- {
- // Do something here
- return 1;
- }
- return 0;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement