Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // Kūrė MoDe
- //
- #include <a_samp>
- new Text: pavadinimas;
- new spalvos[] = {
- 0xAFAFAFAA,
- 0x33AA33AA,
- 0xAA3333AA,
- 0xFFFF00AA,
- 0xFFFFFFAA,
- 0x0000BBAA,
- 0x33CCFFAA,
- 0xFF9900AA,
- 0xAA3333AA,
- 0x10F441AA,
- 0xFF00FFFF,
- 0x000080AA,
- 0xF0F8FFAA,
- 0xDC143CAA,
- 0x6495EDAA,
- 0xFFE4C4AA,
- 0x7FFF00AA,
- 0xA52A2AAA,
- 0xFF7F50AA,
- 0xB8860BAA,
- 0xADFF2FAA,
- 0x4B00B0AA,
- 0xFFFF82AA,
- 0x7CFC00AA,
- 0x20B2AAAA,
- 0x32CD32AA,
- 0x191970AA,
- 0x800000AA,
- 0x808000AA,
- 0xFF4500AA,
- 0xFFC0CBAA,
- 0x2E8B57AA,
- 0x00FF7FAA,
- 0xFF6347AA,
- 0x9ACD32AA,
- 0x83BFBFAA,
- 0x8B008BAA
- };
- forward timer();
- public OnFilterScriptInit()
- {
- print( "\n-------------------------------------------------------" );
- print( " Keičiantis spalvą serverio pavadinimas užsikrovė By MoDe" );
- print( "-------------------------------------------------------\n" );
- pavadinimas = TextDrawCreate( 40.200022, 424.853424, "Pavadinimas" );
- TextDrawLetterSize( pavadinimas, 0.449999, 1.600000 );
- TextDrawAlignment( pavadinimas, 1 );
- TextDrawColor( pavadinimas, -1 );
- TextDrawSetShadow( pavadinimas, 0 );
- TextDrawSetOutline( pavadinimas, 1 );
- TextDrawBackgroundColor( pavadinimas, 255 );
- TextDrawFont( pavadinimas, 1 );
- TextDrawSetProportional( pavadinimas, 1 );
- SetTimer( "timer", 1000, true );
- return 1;
- }
- public timer()
- {
- TextDrawColor( pavadinimas, spalvos[random(38)] );
- TextDrawShowForAll( pavadinimas );
- }
- public OnFilterScriptExit()
- {
- TextDrawDestroy( pavadinimas );
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- TextDrawShowForAll( pavadinimas );
- 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