Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- new Text:TD0;
- new Text:TD1;
- new Text:TD2;
- new Text:TD3;
- new Text:TD4;
- new Text:TD5;
- new Text:TD6;
- new Text:TD7;
- new Text:TD8;
- new Text:TD9;
- new Text:TD10;
- new Text:TD11;
- new Text:TD12;
- new Text:TD13;
- new Text:TD14;
- new Text:TD15;
- forward RandomPorukee();
- new RandomPoruke[][] =
- {
- "~w~Sve komande mozete vidit sa ~b~/help",
- "~w~Trenutna verzija moda ~b~v1.0.0",
- "~w~Dobrodosli na ~b~Fight Arena ~w~server."
- };
- public RandomPorukee()
- {
- TextDrawSetString(TD7, RandomPoruke[random(sizeof(RandomPoruke))]);
- return 1;
- }
- public OnFilterScriptInit()
- {
- SetTimer("RandomPorukee",10000,1);
- print("TDs by Harexe");
- TD0 = TextDrawCreate(0.000000, 430.500000, "LD_SPAC:white");
- TextDrawLetterSize(TD0, 0.000000, 0.000000);
- TextDrawTextSize(TD0, 640.000000, 17.500000);
- TextDrawAlignment(TD0, 1);
- TextDrawColor(TD0, -16776961);
- TextDrawSetShadow(TD0, 0);
- TextDrawSetOutline(TD0, 0);
- TextDrawFont(TD0, 4);
- TD1 = TextDrawCreate(639.529418, 431.083312, "LD_SPAC:white");
- TextDrawLetterSize(TD1, 0.000000, 0.000000);
- TextDrawTextSize(TD1, -639.529418, -1.750000);
- TextDrawAlignment(TD1, 1);
- TextDrawColor(TD1, 255);
- TextDrawSetShadow(TD1, 0);
- TextDrawSetOutline(TD1, 0);
- TextDrawFont(TD1, 4);
- TD2 = TextDrawCreate(201.882278, 421.166442, "/");
- TextDrawLetterSize(TD2, 0.485294, 3.904168);
- TextDrawAlignment(TD2, 1);
- TextDrawColor(TD2, 255);
- TextDrawSetShadow(TD2, 0);
- TextDrawSetOutline(TD2, 0);
- TextDrawBackgroundColor(TD2, 51);
- TextDrawFont(TD2, 2);
- TextDrawSetProportional(TD2, 1);
- TD3 = TextDrawCreate(239.529495, 429.916748, "Fight arena");
- TextDrawLetterSize(TD3, 0.254705, 0.742499);
- TextDrawAlignment(TD3, 1);
- TextDrawColor(TD3, 255);
- TextDrawSetShadow(TD3, 0);
- TextDrawSetOutline(TD3, 0);
- TextDrawBackgroundColor(TD3, 51);
- TextDrawFont(TD3, 2);
- TextDrawSetProportional(TD3, 1);
- TD4 = TextDrawCreate(335.646820, 420.249816, "/");
- TextDrawLetterSize(TD4, 0.485294, 3.904168);
- TextDrawAlignment(TD4, 1);
- TextDrawColor(TD4, 255);
- TextDrawSetShadow(TD4, 0);
- TextDrawSetOutline(TD4, 0);
- TextDrawBackgroundColor(TD4, 51);
- TextDrawFont(TD4, 2);
- TextDrawSetProportional(TD4, 1);
- TD5 = TextDrawCreate(220.705932, 436.916656, "online gaming community");
- TextDrawLetterSize(TD5, 0.177529, 0.864998);
- TextDrawAlignment(TD5, 1);
- TextDrawColor(TD5, -1);
- TextDrawSetShadow(TD5, 0);
- TextDrawSetOutline(TD5, 1);
- TextDrawBackgroundColor(TD5, 51);
- TextDrawFont(TD5, 2);
- TextDrawSetProportional(TD5, 1);
- TD6 = TextDrawCreate(343.999969, 433.416656, "LD_CHAT:badchat");
- TextDrawLetterSize(TD6, 0.000000, 0.000000);
- TextDrawTextSize(TD6, 11.294091, 12.833325);
- TextDrawAlignment(TD6, 1);
- TextDrawColor(TD6, -1);
- TextDrawSetShadow(TD6, 0);
- TextDrawSetOutline(TD6, 0);
- TextDrawFont(TD6, 4);
- TD7 = TextDrawCreate(361.882293, 436.333343, "Bakar Bakar Bakar Bakar Bakar Bakar");
- TextDrawLetterSize(TD7, 0.198705, 0.829999);
- TextDrawAlignment(TD7, 1);
- TextDrawColor(TD7, -1);
- TextDrawSetShadow(TD7, 0);
- TextDrawSetOutline(TD7, 1);
- TextDrawBackgroundColor(TD7, 51);
- TextDrawFont(TD7, 3);
- TextDrawSetProportional(TD7, 1);
- TD8 = TextDrawCreate(0.000014, 431.666656, "LD_GRAV:TIMER");
- TextDrawLetterSize(TD8, 0.000000, 0.000000);
- TextDrawTextSize(TD8, 12.705881, 14.583325);
- TextDrawAlignment(TD8, 1);
- TextDrawColor(TD8, -1);
- TextDrawUseBox(TD8, true);
- TextDrawBoxColor(TD8, 0);
- TextDrawSetShadow(TD8, 0);
- TextDrawSetOutline(TD8, 0);
- TextDrawFont(TD8, 4);
- TD9 = TextDrawCreate(19.764682, 432.833312, "20:00:00");
- TextDrawLetterSize(TD9, 0.313529, 1.424999);
- TextDrawAlignment(TD9, 1);
- TextDrawColor(TD9, 255);
- TextDrawSetShadow(TD9, 0);
- TextDrawSetOutline(TD9, 0);
- TextDrawBackgroundColor(TD9, 51);
- TextDrawFont(TD9, 3);
- TextDrawSetProportional(TD9, 1);
- TD10 = TextDrawCreate(622.588317, 434.583374, "F");
- TextDrawLetterSize(TD10, 0.449999, 1.600000);
- TextDrawAlignment(TD10, 1);
- TextDrawColor(TD10, 255);
- TextDrawSetShadow(TD10, 0);
- TextDrawSetOutline(TD10, 0);
- TextDrawBackgroundColor(TD10, 51);
- TextDrawFont(TD10, 2);
- TextDrawSetProportional(TD10, 1);
- TD11 = TextDrawCreate(525.176269, 1.750000, "Fight Arena");
- TextDrawLetterSize(TD11, 0.348823, 2.352499);
- TextDrawAlignment(TD11, 1);
- TextDrawColor(TD11, -16776961);
- TextDrawSetShadow(TD11, 0);
- TextDrawSetOutline(TD11, 1);
- TextDrawBackgroundColor(TD11, 51);
- TextDrawFont(TD11, 2);
- TextDrawSetProportional(TD11, 1);
- TD12 = TextDrawCreate(504.470397, 4.666688, "LD_BEAT:right");
- TextDrawLetterSize(TD12, 0.000000, 0.000000);
- TextDrawTextSize(TD12, 16.941177, 15.750008);
- TextDrawAlignment(TD12, 1);
- TextDrawColor(TD12, 255);
- TextDrawSetShadow(TD12, 0);
- TextDrawSetOutline(TD12, 0);
- TextDrawFont(TD12, 4);
- TD13 = TextDrawCreate(622.176208, 5.666689, "LD_BEAT:left");
- TextDrawLetterSize(TD13, 0.000000, 0.000000);
- TextDrawTextSize(TD13, 16.941177, 15.750008);
- TextDrawAlignment(TD13, 1);
- TextDrawColor(TD13, 255);
- TextDrawSetShadow(TD13, 0);
- TextDrawSetOutline(TD13, 0);
- TextDrawFont(TD13, 4);
- TD14 = TextDrawCreate(522.352966, 21.000011, "] Online gaming community ]");
- TextDrawLetterSize(TD14, 0.151646, 0.876666);
- TextDrawAlignment(TD14, 1);
- TextDrawColor(TD14, -1);
- TextDrawSetShadow(TD14, 0);
- TextDrawSetOutline(TD14, 1);
- TextDrawBackgroundColor(TD14, 51);
- TextDrawFont(TD14, 2);
- TextDrawSetProportional(TD14, 1);
- TD15 = TextDrawCreate(624.941040, 428.750152, "A");
- TextDrawLetterSize(TD15, 0.449999, 1.600000);
- TextDrawAlignment(TD15, 1);
- TextDrawColor(TD15, -1);
- TextDrawSetShadow(TD15, 0);
- TextDrawSetOutline(TD15, 0);
- TextDrawBackgroundColor(TD15, 51);
- TextDrawFont(TD15, 2);
- TextDrawSetProportional(TD15, 1);
- return 1;
- }
- public OnFilterScriptExit()
- {
- 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
Advertisement