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
- #include <a_samp>
- #include <a_players>
- #include <streamer>
- //Farben
- #define COLOR_GRAD1 0xB4B5B7FF
- #define COLOR_VT 0x659EC7FF
- #define COLOR_DP 0x7D1B7EFF
- #define COLOR_GRAD2 0xBFC0C2FF
- #define COLOR_GRAD3 0xCBCCCEFF
- #define COLOR_GRAD4 0xD8D8D8FF
- #define COLOR_GRAD5 0xE3E3E3FF
- #define COLOR_GRAD6 0xF0F0F0FF
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_AFK 0x565656FF
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_RED 0xAA3333AA
- #define COLOR_PINK 0xFF66FFAA
- #define COLOR_BBLUE 0x1E519DAA
- #define COLOR_LIGHTRED 0xFF6347AA
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_LIGHTGREEN 0x9ACD32AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_YELLOW2 0xF5DEB3AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_FADE1 0xE6E6E6E6
- #define COLOR_FADE2 0xC8C8C8C8
- #define COLOR_FADE3 0xAAAAAAAA
- #define COLOR_FADE4 0x8C8C8C8C
- #define COLOR_FADE5 0x6E6E6E6E
- #define COLOR_PURPLE 0xC2A2DAAA
- #define COLOR_DBLUE 0x2641FEAA
- #define COLOR_ALLDEPT 0xFF8282AA
- #define COLOR_NEWS 0xFFA500AA
- #define COLOR_OOC 0xE0FFFFAA
- #define COLOR_ORANGE 0xFF9900AA
- //Farben
- main()
- {
- print("\n----------------------------------");
- print(" Stunt Beta by XxReNeXx10");
- print("----------------------------------\n");
- }
- public OnGameModeInit()
- {
- // Don't use these lines if it's a filterscript
- SetGameModeText("Stunt by XxReNeXx10");
- AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- SetPlayerPos(playerid, 1423.6473,-895.4320,56.7484);//dort steht der spieler während der skinauswahl
- SetPlayerCameraPos(playerid, 1423.6648,-900.8108,56.7457);//dort steht die kamera, die ihn anguckt
- SetPlayerCameraLookAt(playerid, 1423.6473,-895.4320,56.7484);//dort steht der spieler, der ihn anguckt (die selben koordinaten wie bei SetPlayerPos)
- 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("/hilfe", cmdtext, true, 10) == 0)
- {
- SendClientMessage(playerid, COLOR_ORANGE, "|-----------------Hilfe-----------------|");
- SendClientMessage(playerid, COLOR_ORANGE, "|Player Commands| /100hp /rüstung");
- SendClientMessage(playerid, COLOR_ORANGE, "|Waffen System| /mp5 /tec9 /knife");
- SendClientMessage(playerid, COLOR_ORANGE, "|Algemeines| /info");
- return 1;
- }
- if (strcmp("/100hp", cmdtext, true, 10) == 0)
- {
- SetPlayerHealth(playerid,100.0);
- SendClientMessage(playerid, COLOR_GREEN, "Du hast erfolgreich dein Leben aufgefüllt!");
- return 1;
- }
- if (strcmp("/rüstung", cmdtext, true, 10) == 0)
- {
- SetPlayerArmour(playerid,100.0);
- SendClientMessage(playerid, COLOR_GREEN, "Du hast dir erfolgreich eine Rüstung gegeben!");
- return 1;
- }
- //-----------------------------Waffen System by XxReNeXx10------------------------
- if (strcmp("/mp5", cmdtext, true, 10) == 0)
- {
- GivePlayerWeapon(playerid,29,100);
- SendClientMessage(playerid, COLOR_GREEN, "Du hast dir erfolgreich eine MP5 gegeben!");
- return 1;
- }
- if (strcmp("/tec9", cmdtext, true, 10) == 0)
- {
- GivePlayerWeapon(playerid,32,100);
- SendClientMessage(playerid, COLOR_GREEN, "Du hast dir erfolgreich eine TEC9 gegeben!");
- return 1;
- }
- if (strcmp("/knife", cmdtext, true, 10) == 0)
- {
- GivePlayerWeapon(playerid,4,1);
- SendClientMessage(playerid, COLOR_GREEN, "Du hast dir erfolgreich ein Messer gegeben!");
- return 1;
- }
- if (strcmp("/schlagring", cmdtext, true, 10) == 0)
- {
- GivePlayerWeapon(playerid,1,1);
- SendClientMessage(playerid, COLOR_GREEN, "Du hast dir erfolgreich ein Schlagring gegeben!");
- return 1;
- }
- //---------------------Waffen System Ende------------------------------------------
- if (strcmp("/info", cmdtext, true, 10) == 0)
- {
- SendClientMessage(playerid, COLOR_GREEN, "Server-Besitzer:XxReNeXx10");
- SendClientMessage(playerid, COLOR_GREEN, "Co-Besitzer: Tintenkeks");
- SendClientMessage(playerid, COLOR_GREEN, "Script-Besitzer: XxReNeXx10");
- SendClientMessage(playerid, COLOR_GREEN, "Mapping: XxReNeXx10, Tintenkeks");
- SendClientMessage(playerid, COLOR_GREEN, "ServerIP: *Comming Soon*");
- SendClientMessage(playerid, COLOR_GREEN, "Forum: *Comming Soon*");
- SendClientMessage(playerid, COLOR_GREEN, "Viel Spaß wüscht Das Team");
- return 1;
- }
- if (strcmp("/meineip", cmdtext, true, 10) == 0)
- {
- new ipadresse[3];
- GetPlayerIp(playerid, ipadresse, sizeof(ipadresse));
- SendClientMessage(playerid,COLOR_GREEN,"Deine IP:", ipadresse);
- 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