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
- //Includes
- #include <a_samp>
- #include <a_players>
- //News
- new IsPlayerInHydra[MAX_PLAYERS];
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Hydra System By Elad ");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" Hydra System By Elad ");
- print("----------------------------------\n");
- }
- #endif
- public OnGameModeInit()
- {
- CreateVehicle(520, 294.9219, 1949.1024, 18.3189, -55.0000, -1, -1, 100); //Hydra 1
- CreateVehicle(520, 295.4395, 1980.1680, 18.3189, -55.0000, -1, -1, 100); //Hydra 2
- CreateVehicle(520, 294.6758, 2013.9963, 18.3189, -55.0000, -1, -1, 100); //Hydra 3
- CreateVehicle(520, 295.4164, 2030.6583, 18.3189, -133.0000, -1, -1, 100); //Hydra 4
- CreateVehicle(520, 295.9879, 1999.0372, 18.3189, -133.0000, -1, -1, 100); //Hydra 5
- CreateVehicle(520, 295.8665, 1965.9890, 18.3189, -133.0000, -1, -1, 100); //Hydra 6
- CreateVehicle(520, 293.5059, 1990.0460, 18.3189, -94.0000, -1, -1, 100); //Hydra 7
- CreateVehicle(520, 293.1179, 1957.4163, 18.3189, -94.0000, -1, -1, 100); //Hydra 8
- CreateVehicle(520, 292.7037, 2022.4250, 18.3189, -94.0000, -1, -1, 100); //Hydra 9
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- if(IsPlayerInHydra[playerid] == 1);
- {
- SetPlayerPos(playerid,-2578.5879,1099.7986,55.5781);
- SetPlayerFacingAngle(playerid, 11.0148);
- SendClientMessage(playerid,0xFFFFFFFF,"Hydra çæøú áàåôï àåèåîèé ì");
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/hydra", cmdtext, true, 10) == 0)
- {
- SetPlayerPos(playerid,310.7225,1990.7762,17.6406);
- SetPlayerFacingAngle(playerid, 92.5182);
- SetPlayerVirtualWorld(playerid, 4567);
- IsPlayerInHydra[playerid] = 1;
- return 1;
- }
- if (strcmp("/QHydra", cmdtext, true, 10) == 0)
- {
- SetPlayerPos(playerid, -2578.5879,1099.7986,55.5781);
- SetPlayerFacingAngle(playerid, 11.0148);
- SetPlayerVirtualWorld(playerid, 0);
- IsPlayerInHydra[playerid] = 0;
- return 1;
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment