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>
- new Text:SA;
- new Text:vers;
- new Text:Server;
- new Text:Star5;
- new Text:Star6;
- new Text:Star7;
- new Text:Star8;
- new Text:Star9;
- new Text:Star10;
- new Text:Star11;
- new Text:star1;
- new Text:star2;
- new Text:star3;
- new Text:star4;
- #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()
- {
- // 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);
- SA = TextDrawCreate(459.375000, 78.166671, "San Andreeas");
- TextDrawLetterSize(SA, 0.449999, 1.600000);
- TextDrawTextSize(SA, 6.250000, 86.333374);
- TextDrawAlignment(SA, 2);
- TextDrawColor(SA, 12648447);
- TextDrawSetShadow(SA, 0);
- TextDrawSetOutline(SA, 1);
- TextDrawBackgroundColor(SA, 51);
- TextDrawFont(SA, 0);
- TextDrawSetProportional(SA, 1);
- vers = TextDrawCreate(459.375000, 95.083366, "] 0.3e ]");
- TextDrawLetterSize(vers, 0.449999, 1.600000);
- TextDrawTextSize(vers, 505.625000, 89.833374);
- TextDrawAlignment(vers, 2);
- TextDrawColor(vers, -1208024833);
- TextDrawSetShadow(vers, 0);
- TextDrawSetOutline(vers, 1);
- TextDrawBackgroundColor(vers, 51);
- TextDrawFont(vers, 2);
- TextDrawSetProportional(vers, 1);
- Server = TextDrawCreate(458.125000, 111.416656, "Server");
- TextDrawLetterSize(Server, 0.449999, 1.600000);
- TextDrawTextSize(Server, 31.250000, 90.416732);
- TextDrawAlignment(Server, 2);
- TextDrawColor(Server, -1);
- TextDrawSetShadow(Server, 0);
- TextDrawSetOutline(Server, 1);
- TextDrawBackgroundColor(Server, 51);
- TextDrawFont(Server, 2);
- TextDrawSetProportional(Server, 1);
- Star5 = TextDrawCreate(406.250000, 108.500022, "]");
- TextDrawLetterSize(Star5, 0.449999, 1.600000);
- TextDrawAlignment(Star5, 1);
- TextDrawColor(Star5, -5963521);
- TextDrawSetShadow(Star5, 0);
- TextDrawSetOutline(Star5, 1);
- TextDrawBackgroundColor(Star5, 51);
- TextDrawFont(Star5, 2);
- TextDrawSetProportional(Star5, 1);
- Star6 = TextDrawCreate(495.375000, 107.750022, "]");
- TextDrawLetterSize(Star6, 0.449999, 1.600000);
- TextDrawAlignment(Star6, 1);
- TextDrawColor(Star6, -5963521);
- TextDrawSetShadow(Star6, 0);
- TextDrawSetOutline(Star6, 1);
- TextDrawBackgroundColor(Star6, 51);
- TextDrawFont(Star6, 2);
- TextDrawSetProportional(Star6, 1);
- Star7 = TextDrawCreate(501.375000, 80.166687, "]");
- TextDrawLetterSize(Star7, 0.449999, 1.600000);
- TextDrawAlignment(Star7, 1);
- TextDrawColor(Star7, -5963521);
- TextDrawSetShadow(Star7, 0);
- TextDrawSetOutline(Star7, 1);
- TextDrawBackgroundColor(Star7, 51);
- TextDrawFont(Star7, 2);
- TextDrawSetProportional(Star7, 1);
- Star8 = TextDrawCreate(404.875000, 78.250007, "]");
- TextDrawLetterSize(Star8, 0.449999, 1.600000);
- TextDrawAlignment(Star8, 1);
- TextDrawColor(Star8, -5963521);
- TextDrawSetShadow(Star8, 0);
- TextDrawSetOutline(Star8, 1);
- TextDrawBackgroundColor(Star8, 51);
- TextDrawFont(Star8, 2);
- TextDrawSetProportional(Star8, 1);
- Star9 = TextDrawCreate(412.750000, 121.250038, "]");
- TextDrawLetterSize(Star9, 0.449999, 1.600000);
- TextDrawAlignment(Star9, 1);
- TextDrawColor(Star9, -5963521);
- TextDrawSetShadow(Star9, 0);
- TextDrawSetOutline(Star9, 1);
- TextDrawBackgroundColor(Star9, 51);
- TextDrawFont(Star9, 2);
- TextDrawSetProportional(Star9, 1);
- Star10 = TextDrawCreate(488.750000, 121.083374, "]");
- TextDrawLetterSize(Star10, 0.449999, 1.600000);
- TextDrawAlignment(Star10, 1);
- TextDrawColor(Star10, -5963521);
- TextDrawSetShadow(Star10, 0);
- TextDrawSetOutline(Star10, 1);
- TextDrawBackgroundColor(Star10, 51);
- TextDrawFont(Star10, 2);
- TextDrawSetProportional(Star10, 1);
- Star11 = TextDrawCreate(425.375000, 125.000038, "]");
- TextDrawLetterSize(Star11, 0.449999, 1.600000);
- TextDrawAlignment(Star11, 1);
- TextDrawColor(Star11, -5963521);
- TextDrawSetShadow(Star11, 0);
- TextDrawSetOutline(Star11, 1);
- TextDrawBackgroundColor(Star11, 51);
- TextDrawFont(Star11, 2);
- TextDrawSetProportional(Star11, 1);
- star1 = TextDrawCreate(477.000000, 125.416702, "]");
- TextDrawLetterSize(star1, 0.449999, 1.600000);
- TextDrawAlignment(star1, 1);
- TextDrawColor(star1, -5963521);
- TextDrawSetShadow(star1, 0);
- TextDrawSetOutline(star1, 1);
- TextDrawBackgroundColor(star1, 51);
- TextDrawFont(star1, 2);
- TextDrawSetProportional(star1, 1);
- star2 = TextDrawCreate(438.000000, 129.333374, "]");
- TextDrawLetterSize(star2, 0.449999, 1.600000);
- TextDrawAlignment(star2, 1);
- TextDrawColor(star2, -5963521);
- TextDrawSetShadow(star2, 0);
- TextDrawSetOutline(star2, 1);
- TextDrawBackgroundColor(star2, 51);
- TextDrawFont(star2, 2);
- TextDrawSetProportional(star2, 1);
- star3 = TextDrawCreate(464.000000, 129.750045, "]");
- TextDrawLetterSize(star3, 0.449999, 1.600000);
- TextDrawAlignment(star3, 1);
- TextDrawColor(star3, -5963521);
- TextDrawSetShadow(star3, 0);
- TextDrawSetOutline(star3, 1);
- TextDrawBackgroundColor(star3, 51);
- TextDrawFont(star3, 2);
- TextDrawSetProportional(star3, 1);
- star4 = TextDrawCreate(451.250000, 135.416702, "]");
- TextDrawLetterSize(star4, 0.449999, 1.600000);
- TextDrawAlignment(star4, 1);
- TextDrawColor(star4, -5963521);
- TextDrawSetShadow(star4, 0);
- TextDrawSetOutline(star4, 1);
- TextDrawBackgroundColor(star4, 51);
- TextDrawFont(star4, 2);
- TextDrawSetProportional(star4, 1);
- 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)
- {
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- 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