Jump to content
  • 0

Ma puteti ajuta si pe mn cu ceva va rog frumos


Question

8 answers to this question

Recommended Posts

Posted

Uitati aici:

C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(279) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(1402) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(1481) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(2827) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(2887) : warning 202: number of arguments does not match definition
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(2889) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(2895) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(2901) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(2910) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(2914) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(2920) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(2929) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(3034) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(3037) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(3051) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(3061) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(3091) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(3119) : warning 217: loose indentation
C:\Users\Administrator\Desktop\ProRomaniaRp\gamemodes\RSSO.pwn(3166) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


19 Warnings.
si GM :
// Romania Super Stunt Original 0.3c
//by [GM]damarius
//                        Super GamemMode

#include <a_samp>
#include <streamer>
#include <dini>
#include <dudb>

//[Pragma]
#pragma unused ret_memcpy

//[Defines]
#define MAX_SPAM 6
#define AFK 0x6AF7E1FF
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1

//[culori]
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define RED 0xE60000FF
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_RED 0xAA3333AA
#define COLOR_LIME 0x10F441AA
#define COLOR_MAGENTA 0xFF00FFFF
#define COLOR_NAVY 0x000080AA
#define COLOR_AQUA 0xF0F8FFAA
#define COLOR_CRIMSON 0xDC143CAA
#define COLOR_FLBLUE 0x6495EDAA
#define COLOR_BISQUE 0xFFE4C4AA
#define COLOR_BLACK 0x000000AA
#define COLOR_CHARTREUSE 0x7FFF00AA
#define COLOR_BROWN 0XA52A2AAA
#define COLOR_CORAL 0xFF7F50AA
#define COLOR_GOLD 0xB8860BAA
#define COLOR_GREENYELLOW 0xADFF2FAA
#define COLOR_INDIGO 0x4B00B0AA
#define COLOR_IVORY 0xFFFF82AA
#define COLOR_LAWNGREEN 0x7CFC00AA
#define COLOR_SEAGREEN 0x20B2AAAA
#define COLOR_LIMEGREEN 0x32CD32AA
#define COLOR_MIDNIGHTBLUE 0x191970AA
#define COLOR_MAROON 0x800000AA
#define COLOR_OLIVE 0x808000AA
#define COLOR_ORANGERED 0xFF4500AA
#define COLOR_PINK 0xFFC0CBAA
#define COLOR_SPRINGGREEN 0x00FF7FAA
#define COLOR_TOMATO 0xFF6347AA
#define COLOR_YELLOWGREEN 0x9ACD32AA
#define COLOR_MEDIUMAQUA 0x83BFBFAA
#define COLOR_MEDIUMMAGENTA 0x8B008BAA
#if defined FILTERSCRIPT

//[Forwards]
forward Keys();
forward DeleteRamp(playerid);
forward Float:GetRampDistance(playerid);
forward Float:GetPosInFrontOfPlayer(playerid, &Float:x, &Float:y, Float:distance);
forward Explode(playerid);
forward Givecashdelaytimer(playerid);
forward ReactionTest();
forward ReactionWin(playerid);
forward SetBack();
forward IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy);
forward Help3(playerid);
forward Help1(playerid);
forward Help0(playerid);
forward Help2(playerid);
forward Help4(playerid);
forward Help5(playerid);
forward Help6(playerid);
forward Help7(playerid);
forward Help8(playerid);
forward MinSpam();
forward Weaponcheck();
forward Weaponchecktimer(playerid);
forward TipMessages();
forward CountDown();
forward SetPlayerRandomSpawnBerlin(playerid);
forward SetPlayerRandomSpawn(playerid);
forward SetPlayerRandomSpawnCdm(playerid);
forward SetPlayerRandomSpawnWar(playerid);
forward SetPlayerRandomSpawnIs(playerid);
forward SetPlayerRandomSpawnAK47(playerid);
forward SetPlayerRandomSpawnSpS(playerid);
forward SetPlayerRandomSpawnWAR2(playerid);
forward SetPlayerRandomSpawnSniper(playerid);
forward SetupPlayerForClassSelection(playerid);
forward GameModeExitFunc();
forward SendPlayerFormattedText(playerid, const str[], define);
forward public SendAllFormattedText(playerid, const str[], define);
forward CheckStatus();
forward playerafk(playerid);
forward playerbrb(playerid);
forward GPSUpdate(playerid,playerid2);
forward reclama();
forward TDTime();
forward VehStateCheck();
forward antiveh(vehicleid);
forward KillVehicle(vehicleid, checkplayer);

//[new]
new Kill[MAX_PLAYERS];
new Peds[13][1] = {
{23},{24},{25},{11},{93},{192},{91},{156},{27},{193},{195},{200},{13}
};
new PVeh[MAX_PLAYERS];
new Text:players;

enum espawn
{
	Float:ex,
	Float:ey,
	Float:ez,
	interior,
	emsg[128]
}

new spawns[][espawn] = {
	{1282.6499,1267.8385,10.8203, 0, "SPAWN: Ai fost spawnat la aeroportul din LV!"},//Syntax: {x, y, z, interior, message}
	{1527.3297,-2455.9033,13.5547, 0, "SPAWN: Ai fost spawnat la aeroportul din LS!"},
	{284.668945, 2470.728515, 16.474884, 0, "SPAWN: Ai fost spawnat la aeroportul vechi! "},
	{-2355.5232,-1636.6266,483.7031, 0, "SPAWN: Ai fost spawnat la muntele Chilliad!"}
};

new VehicleNames[212][] = {
   "Landstalker",  "Bravura",  "Buffalo", "Linerunner", "Perennial", "Sentinel",
   "Dumper",  "Firetruck" ,  "Trashmaster" ,  "Stretch",  "Manana",  "Infernus",
   "Voodoo", "Pony",  "Mule", "Cheetah", "Ambulance",  "Leviathan",  "Moonbeam",
   "Esperanto", "Taxi",  "Washington",  "Bobcat",  "Mr Whoopee", "BF Injection",
   "Hunter", "Premier",  "Enforcer",  "Securicar", "Banshee", "Predator", "Bus",
   "Rhino",  "Barracks",  "Hotknife",  "Trailer",  "Previon", "Coach", "Cabbie",
   "Stallion", "Rumpo", "RC Bandit",  "Romero", "Packer", "Monster",  "Admiral",
   "Squalo", "Seasparrow", "Pizzaboy", "Tram", "Trailer",  "Turismo", "Speeder",
   "Reefer", "Tropic", "Flatbed","Yankee", "Caddy", "Solair","Berkley's RC Van",
   "Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron","RC Raider","Glendale",
   "Oceanic", "Sanchez", "Sparrow",  "Patriot", "Quad",  "Coastguard", "Dinghy",
   "Hermes", "Sabre", "Rustler", "ZR-350", "Walton",  "Regina",  "Comet", "BMX",
   "Burrito", "Camper", "Marquis", "Baggage", "Dozer","Maverick","News Chopper",
   "Rancher", "FBI Rancher", "Virgo", "Greenwood","Jetmax","Hotring","Sandking",
   "Blista Compact", "Police Maverick", "Boxville", "Benson","Mesa","RC Goblin",
   "Hotring Racer", "Hotring Racer", "Bloodring Banger", "Rancher",  "Super GT",
   "Elegant", "Journey", "Bike", "Mountain Bike", "Beagle", "Cropdust", "Stunt",
   "Tanker", "RoadTrain", "Nebula", "Majestic", "Buccaneer", "Shamal",  "Hydra",
   "FCR-900","NRG-500","HPV1000","Cement Truck","Tow Truck","Fortune","Cadrona",
   "FBI Truck", "Willard", "Forklift","Tractor","Combine","Feltzer","Remington",
   "Slamvan", "Blade", "Freight", "Streak","Vortex","Vincent","Bullet","Clover",
   "Sadler",  "Firetruck", "Hustler", "Intruder", "Primo", "Cargobob",  "Tampa",
   "Sunrise", "Merit",  "Utility Truck",  "Nevada", "Yosemite", "Windsor",  "Monster",
   "Monster","Uranus","Jester","Sultan","Stratum","Elegy","Raindance","RCTiger",
   "Flash","Tahoma","Savanna", "Bandito", "Freight", "Trailer", "Kart", "Mower",
   "Dune", "Sweeper", "Broadway", "Tornado", "AT-400",  "DFT-30", "Huntley",
   "Stafford", "BF-400", "Newsvan","Tug","Trailer","Emperor","Wayfarer","Euros",
   "Hotdog", "Club", "Trailer", "Trailer","Andromada","Dodo","RC Cam", "Launch",
   "Police Car (LSPD)", "Police Car (SFPD)","Police Car (LVPD)","Police Ranger",
   "Picador",   "S.W.A.T. Van",  "Alpha",   "Phoenix",   "Glendale",   "Sadler",
   "Luggage Trailer","Luggage Trailer","Stair Trailer", "Boxville", "Farm Plow",
   "Utility Trailer"
};

new Float:GDM[7][3] = {  //G-DM
	{ 992.927,-1275.592,25.237 },
	{ 875.694,-1278.225,22.321 },
	{ 821.402,-1273.984,12.842 },
	{ 869.690,-1228.987,14.620 },
	{ 922.599,-1189.074,16.212 },
	{ 891.474,-1167.694,16.212 },
	{ 824.612,-1247.725,27.792 }
};
new Float:TDM[4][3] = {  //T-DM
	{ 3164.422,509.638,58.795 },
	{ 3129.027,554.167,58.358 },
	{ 3166.050,607.433,58.464 },
	{ 3194.825,554.248,58.982 }
};

public SetPlayerGDMS(playerid)
	{
	new rand = random(sizeof(GDM));
	SetPlayerPos(playerid, GDM[rand][0], GDM[rand][1], GDM[rand][2]);
	return 1;
}
public SetPlayerTDM(playerid)
	{
	new rand = random(sizeof(TDM));
	SetPlayerPos(playerid, TDM[rand][0], TDM[rand][1], TDM[rand][2]);
	return 1;
}

new RandMessages[][] =
{
    "Aminteste-ti sa utilizezi /help înainte de a cere ajutor unui administrator sau unui alt jucator!",
	"Nu vrei vrei sa pierzi adresa server-ului ? Adauga acest ip la lista favoritelor !",
	"Nu face spam sau sa adresezi insulte cuiva! Acestea vor avea ca rezultat kick sau ban !!",
	"Vrei sa devii admin ? Aplica pe www.uzone.smfnew.com",
	"Aminteste-ti mereu sa respecti regulile!",
	"Ai vreo sugestie? Foloseste comanda /sugestie si putem improviza!",
	"Vrei nitrogen ? Apasa 2 !",
	"Ai gasit un bug sau un glitch ? Raporteaza-l! Foloseste /bug si spuneni-l!",
	"Vrei sa-ti refaci masina ? Foloseste /respray",
	"Esti blocat in desert fara vehicul ? Scrie /nrg pentru a obtine un NRG personal!",
	"Vrei sa-ti tunezi masina ? Uita-te la comanda /tune"
};

new MMsgs[][] =
{
	"» Vrei sa cazi din cer ? Incearca /FD1-2",
	"» Vrei sa ai un fior ? Incearca /lc",
	"» Stunt-uri tari -> /lsair /sfair /lvair /aa",
	"» Esti un parasutist ? Incearca /bsj(1-9)",
	"» De ce nu încerci niste sarituri mari ? /bj(1-7)",
	"» Vrei niste DM ? Incearca /dm",
	"» Impingei pe toti! Sumo de vehicule: /cs - /vf"
};

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Romania Super Stunt Orginal 0.3c");
	print("--------------------------------------\n");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

#else

main()
{
	print("\n----------------------------------");
	print(" Gamemode by [GM]damarius");
	print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
	SetGameModeText("Romania: Super Stunt 0.3c");

	AddPlayerClass(0,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);
	AddPlayerClass(1,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(13,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(16,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(18,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(19,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(21,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(22,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(23,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(26,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(27,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(28,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(29,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(30,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(33,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(36,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(46,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(299,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(296,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(285,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0);
	AddPlayerClass(286,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0);
	AddPlayerClass(287,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0);
	AddPlayerClass(288,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0);
	AddPlayerClass(102,1222.7469,-2037.1483,65.2266,279.0452,0,0,0,0,0,0);
	AddPlayerClass(103,1222.9333,-2036.9647,65.1844,270.4167,0,0,0,0,0,0);
	AddPlayerClass(104,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);
	AddPlayerClass(105,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);
	AddPlayerClass(106,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);
	AddPlayerClass(107,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);
	AddPlayerClass(128,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);
//Obiectele 


	return 1;
}

public OnGameModeExit()
{
}

public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerCameraPos(playerid, 886.708923, -2091.452636, 13.047561);
    SetPlayerCameraLookAt(playerid, 891.617492, -2091.417968, 13.047561);
    SetPlayerPos(playerid, 891.617492, -2091.417968, 13.047561);
    SetPlayerInterior(playerid, 0);
    SetPlayerFacingAngle(playerid, 270.409423);
	PlayerPlaySound(playerid,1058 ,0, 0, 0);
    ApplyAnimation(playerid,"KISSING","BD_GF_Wave",4.1,0,1,1,1,1);

	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[])
{
//-------------Teleportari-----------------
if (strcmp("/ZonaStunt", cmdtext, true, 10) == 0)
	{
				SetPlayerPos(playerid, -494.60787964, 2189.53271484);
				GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~g~Bun venit ~w~La ZonaStunt!",2000,3);
	return 1;
	}
if (strcmp("/WaterStunt", cmdtext, true, 10) == 0)
	{
				SetPlayerPos(playerid, 6765.8594,-4183.2446,4.6606);
				GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~g~Bun venit ~w~La Water Stunt!",2000,3);
	return 1;
	}
if (strcmp("/SuperStunt", cmdtext, true, 10) == 0)
	{
				SetPlayerPos(playerid, 1983.43,-2751.77,5.31);
				GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~g~Bun venit ~w~La Super Stunt",2000,3);
	return 1;
	}
if(strcmp(cmdtext,"/chilliad",true)==0)
		{
if(GetPlayerState(playerid) == 2) {
		SetVehiclePos(GetPlayerVehicleID(playerid),-2351.1985,-1583.7338,485.9818);
		}
		else
		SetPlayerPos(playerid,-2351.1985,-1583.7338,485.9818);
		SetPlayerInterior(playerid,0);
        SetPlayerFacingAngle(playerid,211.2378);
        SetCameraBehindPlayer(playerid);
	    GameTextForPlayer(playerid,"~g~~h~Chilliad Mountain",2000,1);
return 1;
}
if (strcmp("/aa", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,405.9053,2456.6348,16.5000);
GameTextForPlayer(playerid,"Welcome ~r~Abandoned Airport!",2500,3);
    return 1;
}
if (strcmp("/drift1", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,-325.1331,1533.0276,75.3594);
	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift1");
	SetPlayerInterior(playerid,0);
	return 1;
	}
	if (strcmp("/drift2", cmdtext, true, 10) == 0)
	{
 	SetPlayerPos(playerid,2315.8945,1401.4497,42.8203);
  	SendClientMessage(playerid,	COLOR_GREEN,"Bine ai venit la drift2");
   	SetPlayerInterior(playerid,0);
	return 1;
	}
	if (strcmp("/drift3", cmdtext, true, 10) == 0)
	{
 	SetPlayerPos(playerid,1259.4164,-2027.4384,59.4366);
	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift3");
 	SetPlayerInterior(playerid,0);
  	return 1;
	}
	if (strcmp("/drift4", cmdtext, true, 10) == 0)
	{
 	SetPlayerPos(playerid,-1056.5476,-1353.2755,129.9260);
  	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift4");
	return 1;
	}
    if (strcmp("/drift5", cmdtext, true, 10) == 0)
	{
 	SetPlayerPos(playerid,2221.7561,1962.5647,31.7797);
  	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift5");
   	SetPlayerInterior(playerid,0);
    return 1;
	}
    if (strcmp("/drift6", cmdtext, true, 10) == 0)
	{
 	SetPlayerPos(playerid,1148.0913,2179.3987,10.8203);
  	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift6");
   	SetPlayerInterior(playerid,0);
	return 1;
	}
    if (strcmp("/drift7", cmdtext, true, 10) == 0)
	{
 	SetPlayerPos(playerid,-767.6177,2751.4990,45.7734);
 	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift7");
 	SetPlayerInterior(playerid,0);
 	return 1;
	}
	if (strcmp("/drift8", cmdtext, true, 10) == 0)
	{
 	SetPlayerPos(playerid,-2135.2207,918.6221,79.8516);
 	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift8");
 	SetPlayerInterior(playerid,0);
 	return 1;
	}
	if (strcmp("/drift9", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,-2699.5088,584.5812,15.8154);
 	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift9");
  	SetPlayerInterior(playerid,0);
  	return 1;
	}
	if (strcmp("/drift10", cmdtext, true, 10) == 0)
	{
 	SetPlayerPos(playerid,-2412.5579,-604.6044,132.5625);
 	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift10");
 	SetPlayerInterior(playerid,0);
 	return 1;
	}
	if (strcmp("/lvair", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,1318.2029,1284.1371,10.8203);
	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in Las Venturas Airport");
	SetPlayerInterior(playerid,0);
	return 1;
	}
	if (strcmp("/lsair", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,1978.5294,-2617.4849,19.0112);
	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in Los Santos Airport");
	SetPlayerInterior(playerid,0);
	return 1;
	}
	if (strcmp("/sf", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,-2703.3374,368.6161,4.3892);
	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in San Fierro");
	return 1;
	}
	if (strcmp("/ls", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,259.3984,-1229.6013,73.7732);
	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in Los Santos");
	return 1;
	}
	if (strcmp("/lv", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,1959.7703,1343.7137,15.3746);
	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in Las Venturas");
	return 1;
	}
	if (strcmp("/grove", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,2491.1365,-1685.7610,13.5106);
	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in Grove Street");
	SetPlayerInterior(playerid,0);
	return 1;
	}
	if(strcmp(cmdtext,"/sfair",true)==0)
 {
SetPlayerPos(playerid,-1454.7158,-162.1252,14.1484);
GameTextForPlayer(playerid,"Bine ati venit in ~g~ To ~r~San Fierro Airport!",2500,3);
	return 1;
	}
//------------Comand /help----------------
if( strcmp( cmdtext, "/Teles", true) == 0)
{

SendClientMessage(playerid, 0xFFFF00AA, "----------------Teleportari---------------- ");

SendClientMessage(playerid, 0xFFFF00AA, "Stunt: /chilliad /SuperStunt /ZonaStunt /Lsair /Sfair /Lvair /sfair");
SendClientMessage(playerid, 0xFFFF00AA, "Stunt: /WaterStunt");
SendClientMessage(playerid, 0xFFFF00AA, "Drift: /drift1 /drift2 /drift3 /drift4 /drift5 /drift6 /drift7 /drift8 /drift9");
SendClientMessage(playerid, 0xFFFF00AA, "Zone Simple: /ls /sf /lv /grove");

return 1;
}

//-------------Masini----------------------
	if( strcmp( cmdtext, "/nrg", true) == 0)
	{
		new Float:X, Float:Y, Float:Z,Float:a ;
		GetPlayerFacingAngle(playerid,a);
		GetPlayerPos(playerid, X, Y, Z);
		CreateVehicle(522, X +2.0, Y +2.0, Z +2.0, a, -1,-1, 1000000000);
		GameTextForPlayer(playerid , "~g~Stunti", 3000, 1);
		return 1;
	}
//--------------Comenzi masini--------------------
		if ( strcmp ( cmdtext , "/lock", true)==0)
	{
	if (IsPlayerInAnyVehicle(playerid))
	{
	new State;
	State=GetPlayerState(playerid);
	if (State!=PLAYER_STATE_DRIVER)
	{
	SendClientMessage(playerid, 0x6ba500ff, "Tiai incuiat masina!");
	return 1;
	}
	new i;
	for(i=0;i<MAX_PLAYERS;i++)
	{
	if (i != playerid)
	{
	SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 1);
	}
	}
	SendClientMessage(playerid, COLOR_RED, "Masian incuiata");
	new Float:X, Float:Y, Float:Z;
	GetPlayerPos(playerid, X, Y, Z);
	PlayerPlaySound(playerid, 1056, X, Y, Z);
	}
	else
	{
	SendClientMessage(playerid, COLOR_RED, "Nu esti intrun vehicul!");
	}
	return 1;
	}
if ( strcmp ( cmdtext , "/unlock", true)==0)
	{
	if (IsPlayerInAnyVehicle(playerid))
	{
	new State;
	State=GetPlayerState(playerid);
	if (State!=PLAYER_STATE_DRIVER)
	{
	SendClientMessage(playerid, 0x6ba500ff, "Ai deschis masina!");
	return 1;
	}

	new i;
	for(i=0;i<MAX_PLAYERS;i++)
	{
	SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 0);
	}
	SendClientMessage(playerid, 0x6ba500ff,"Masina este deblocata.");
	new Float:X, Float:Y, Float:Z;
	GetPlayerPos(playerid, X, Y, Z);
	PlayerPlaySound(playerid, 1057, X, Y, Z);
	}
	else
	{
	SendClientMessage(playerid, 0x6ba500ff, "Nu esti in masina!");
	}
	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)
{

 PlayerPlaySound(playerid,1186 ,0, 0, 0);
	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;
}

Posted

[pawn]// Romania Super Stunt Original 0.3c

//by [GM]damarius

//                        Super GamemMode

#include <a_samp>

#include <streamer>

#include <dini>

#include <dudb>

#pragma tabsize 0

#pragma unused strtok

//[Pragma]

#pragma unused ret_memcpy

//[Defines]

#define MAX_SPAM 6

#define AFK 0x6AF7E1FF

#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1

//[culori]

#define COLOR_GREY 0xAFAFAFAA

#define COLOR_GREEN 0x33AA33AA

#define RED 0xE60000FF

#define COLOR_YELLOW 0xFFFF00AA

#define COLOR_WHITE 0xFFFFFFAA

#define COLOR_BLUE 0x0000BBAA

#define COLOR_LIGHTBLUE 0x33CCFFAA

#define COLOR_ORANGE 0xFF9900AA

#define COLOR_RED 0xAA3333AA

#define COLOR_LIME 0x10F441AA

#define COLOR_MAGENTA 0xFF00FFFF

#define COLOR_NAVY 0x000080AA

#define COLOR_AQUA 0xF0F8FFAA

#define COLOR_CRIMSON 0xDC143CAA

#define COLOR_FLBLUE 0x6495EDAA

#define COLOR_BISQUE 0xFFE4C4AA

#define COLOR_BLACK 0x000000AA

#define COLOR_CHARTREUSE 0x7FFF00AA

#define COLOR_BROWN 0XA52A2AAA

#define COLOR_CORAL 0xFF7F50AA

#define COLOR_GOLD 0xB8860BAA

#define COLOR_GREENYELLOW 0xADFF2FAA

#define COLOR_INDIGO 0x4B00B0AA

#define COLOR_IVORY 0xFFFF82AA

#define COLOR_LAWNGREEN 0x7CFC00AA

#define COLOR_SEAGREEN 0x20B2AAAA

#define COLOR_LIMEGREEN 0x32CD32AA

#define COLOR_MIDNIGHTBLUE 0x191970AA

#define COLOR_MAROON 0x800000AA

#define COLOR_OLIVE 0x808000AA

#define COLOR_ORANGERED 0xFF4500AA

#define COLOR_PINK 0xFFC0CBAA

#define COLOR_SPRINGGREEN 0x00FF7FAA

#define COLOR_TOMATO 0xFF6347AA

#define COLOR_YELLOWGREEN 0x9ACD32AA

#define COLOR_MEDIUMAQUA 0x83BFBFAA

#define COLOR_MEDIUMMAGENTA 0x8B008BAA

#if defined FILTERSCRIPT

//[Forwards]

forward Keys();

forward DeleteRamp(playerid);

forward Float:GetRampDistance(playerid);

forward Float:GetPosInFrontOfPlayer(playerid, &Float:x, &Float:y, Float:distance);

forward Explode(playerid);

forward Givecashdelaytimer(playerid);

forward ReactionTest();

forward ReactionWin(playerid);

forward SetBack();

forward IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy);

forward Help3(playerid);

forward Help1(playerid);

forward Help0(playerid);

forward Help2(playerid);

forward Help4(playerid);

forward Help5(playerid);

forward Help6(playerid);

forward Help7(playerid);

forward Help8(playerid);

forward MinSpam();

forward Weaponcheck();

forward Weaponchecktimer(playerid);

forward TipMessages();

forward CountDown();

forward SetPlayerRandomSpawnBerlin(playerid);

forward SetPlayerRandomSpawn(playerid);

forward SetPlayerRandomSpawnCdm(playerid);

forward SetPlayerRandomSpawnWar(playerid);

forward SetPlayerRandomSpawnIs(playerid);

forward SetPlayerRandomSpawnAK47(playerid);

forward SetPlayerRandomSpawnSpS(playerid);

forward SetPlayerRandomSpawnWAR2(playerid);

forward SetPlayerRandomSpawnSniper(playerid);

forward SetupPlayerForClassSelection(playerid);

forward GameModeExitFunc();

forward SendPlayerFormattedText(playerid, const str[], define);

forward public SendAllFormattedText(playerid, const str[], define);

forward CheckStatus();

forward playerafk(playerid);

forward playerbrb(playerid);

forward GPSUpdate(playerid,playerid2);

forward reclama();

forward TDTime();

forward VehStateCheck();

forward antiveh(vehicleid);

forward KillVehicle(vehicleid, checkplayer);

//[new]

new Kill[MAX_PLAYERS];

new Peds[13][1] = {

{23},{24},{25},{11},{93},{192},{91},{156},{27},{193},{195},{200},{13}

};

new PVeh[MAX_PLAYERS];

new Text:players;

enum espawn

{

Float:ex,

Float:ey,

Float:ez,

interior,

emsg[128]

}

new spawns[][espawn] = {

{1282.6499,1267.8385,10.8203, 0, "SPAWN: Ai fost spawnat la aeroportul din LV!"},//Syntax: {x, y, z, interior, message}

{1527.3297,-2455.9033,13.5547, 0, "SPAWN: Ai fost spawnat la aeroportul din LS!"},

{284.668945, 2470.728515, 16.474884, 0, "SPAWN: Ai fost spawnat la aeroportul vechi! "},

{-2355.5232,-1636.6266,483.7031, 0, "SPAWN: Ai fost spawnat la muntele Chilliad!"}

};

new VehicleNames[212][] = {

  "Landstalker",  "Bravura",  "Buffalo", "Linerunner", "Perennial", "Sentinel",

  "Dumper",  "Firetruck" ,  "Trashmaster" ,  "Stretch",  "Manana",  "Infernus",

  "Voodoo", "Pony",  "Mule", "Cheetah", "Ambulance",  "Leviathan",  "Moonbeam",

  "Esperanto", "Taxi",  "Washington",  "Bobcat",  "Mr Whoopee", "BF Injection",

  "Hunter", "Premier",  "Enforcer",  "Securicar", "Banshee", "Predator", "Bus",

  "Rhino",  "Barracks",  "Hotknife",  "Trailer",  "Previon", "Coach", "Cabbie",

  "Stallion", "Rumpo", "RC Bandit",  "Romero", "Packer", "Monster",  "Admiral",

  "Squalo", "Seasparrow", "Pizzaboy", "Tram", "Trailer",  "Turismo", "Speeder",

  "Reefer", "Tropic", "Flatbed","Yankee", "Caddy", "Solair","Berkley's RC Van",

  "Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron","RC Raider","Glendale",

  "Oceanic", "Sanchez", "Sparrow",  "Patriot", "Quad",  "Coastguard", "Dinghy",

  "Hermes", "Sabre", "Rustler", "ZR-350", "Walton",  "Regina",  "Comet", "BMX",

  "Burrito", "Camper", "Marquis", "Baggage", "Dozer","Maverick","News Chopper",

  "Rancher", "FBI Rancher", "Virgo", "Greenwood","Jetmax","Hotring","Sandking",

  "Blista Compact", "Police Maverick", "Boxville", "Benson","Mesa","RC Goblin",

  "Hotring Racer", "Hotring Racer", "Bloodring Banger", "Rancher",  "Super GT",

  "Elegant", "Journey", "Bike", "Mountain Bike", "Beagle", "Cropdust", "Stunt",

  "Tanker", "RoadTrain", "Nebula", "Majestic", "Buccaneer", "Shamal",  "Hydra",

  "FCR-900","NRG-500","HPV1000","Cement Truck","Tow Truck","Fortune","Cadrona",

  "FBI Truck", "Willard", "Forklift","Tractor","Combine","Feltzer","Remington",

  "Slamvan", "Blade", "Freight", "Streak","Vortex","Vincent","Bullet","Clover",

  "Sadler",  "Firetruck", "Hustler", "Intruder", "Primo", "Cargobob",  "Tampa",

  "Sunrise", "Merit",  "Utility Truck",  "Nevada", "Yosemite", "Windsor",  "Monster",

  "Monster","Uranus","Jester","Sultan","Stratum","Elegy","Raindance","RCTiger",

  "Flash","Tahoma","Savanna", "Bandito", "Freight", "Trailer", "Kart", "Mower",

  "Dune", "Sweeper", "Broadway", "Tornado", "AT-400",  "DFT-30", "Huntley",

  "Stafford", "BF-400", "Newsvan","Tug","Trailer","Emperor","Wayfarer","Euros",

  "Hotdog", "Club", "Trailer", "Trailer","Andromada","Dodo","RC Cam", "Launch",

  "Police Car (LSPD)", "Police Car (SFPD)","Police Car (LVPD)","Police Ranger",

  "Picador",  "S.W.A.T. Van",  "Alpha",  "Phoenix",  "Glendale",  "Sadler",

  "Luggage Trailer","Luggage Trailer","Stair Trailer", "Boxville", "Farm Plow",

  "Utility Trailer"

};

new Float:GDM[7][3] = {  //G-DM

{ 992.927,-1275.592,25.237 },

{ 875.694,-1278.225,22.321 },

{ 821.402,-1273.984,12.842 },

{ 869.690,-1228.987,14.620 },

{ 922.599,-1189.074,16.212 },

{ 891.474,-1167.694,16.212 },

{ 824.612,-1247.725,27.792 }

};

new Float:TDM[4][3] = {  //T-DM

{ 3164.422,509.638,58.795 },

{ 3129.027,554.167,58.358 },

{ 3166.050,607.433,58.464 },

{ 3194.825,554.248,58.982 }

};

public SetPlayerGDMS(playerid)

{

new rand = random(sizeof(GDM));

SetPlayerPos(playerid, GDM[rand][0], GDM[rand][1], GDM[rand][2]);

return 1;

}

public SetPlayerTDM(playerid)

{

new rand = random(sizeof(TDM));

SetPlayerPos(playerid, TDM[rand][0], TDM[rand][1], TDM[rand][2]);

return 1;

}

new RandMessages[][] =

{

    "Aminteste-ti sa utilizezi /help înainte de a cere ajutor unui administrator sau unui alt jucator!",

"Nu vrei vrei sa pierzi adresa server-ului ? Adauga acest ip la lista favoritelor !",

"Nu face spam sau sa adresezi insulte cuiva! Acestea vor avea ca rezultat kick sau ban !!",

"Vrei sa devii admin ? Aplica pe www.uzone.smfnew.com",

"Aminteste-ti mereu sa respecti regulile!",

"Ai vreo sugestie? Foloseste comanda /sugestie si putem improviza!",

"Vrei nitrogen ? Apasa 2 !",

"Ai gasit un bug sau un glitch ? Raporteaza-l! Foloseste /bug si spuneni-l!",

"Vrei sa-ti refaci masina ? Foloseste /respray",

"Esti blocat in desert fara vehicul ? Scrie /nrg pentru a obtine un NRG personal!",

"Vrei sa-ti tunezi masina ? Uita-te la comanda /tune"

};

new MMsgs[][] =

{

"» Vrei sa cazi din cer ? Incearca /FD1-2",

"» Vrei sa ai un fior ? Incearca /lc",

"» Stunt-uri tari -> /lsair /sfair /lvair /aa",

"» Esti un parasutist ? Incearca /bsj(1-9)",

"» De ce nu încerci niste sarituri mari ? /bj(1-7)",

"» Vrei niste DM ? Incearca /dm",

"» Impingei pe toti! Sumo de vehicule: /cs - /vf"

};

public OnFilterScriptInit()

{

print("\n--------------------------------------");

print(" Romania Super Stunt Orginal 0.3c");

print("--------------------------------------\n");

return 1;

}

public OnFilterScriptExit()

{

return 1;

}

#else

main()

{

print("\n----------------------------------");

print(" Gamemode by [GM]damarius");

print("----------------------------------\n");

}

#endif

public OnGameModeInit()

{

SetGameModeText("Romania: Super Stunt 0.3c");

AddPlayerClass(0,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);

AddPlayerClass(1,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(13,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(16,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(18,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(19,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(21,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(22,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(23,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(26,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(27,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(28,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(29,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(30,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(33,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(36,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(46,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(299,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(296,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);

AddPlayerClass(285,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0);

AddPlayerClass(286,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0);

AddPlayerClass(287,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0);

AddPlayerClass(288,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0);

AddPlayerClass(102,1222.7469,-2037.1483,65.2266,279.0452,0,0,0,0,0,0);

AddPlayerClass(103,1222.9333,-2036.9647,65.1844,270.4167,0,0,0,0,0,0);

AddPlayerClass(104,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);

AddPlayerClass(105,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);

AddPlayerClass(106,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);

AddPlayerClass(107,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);

AddPlayerClass(128,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);

//Obiectele

return 1;

}

public OnGameModeExit()

{

}

public OnPlayerRequestClass(playerid, classid)

{

SetPlayerCameraPos(playerid, 886.708923, -2091.452636, 13.047561);

    SetPlayerCameraLookAt(playerid, 891.617492, -2091.417968, 13.047561);

    SetPlayerPos(playerid, 891.617492, -2091.417968, 13.047561);

    SetPlayerInterior(playerid, 0);

    SetPlayerFacingAngle(playerid, 270.409423);

PlayerPlaySound(playerid,1058 ,0, 0, 0);

    ApplyAnimation(playerid,"KISSING","BD_GF_Wave",4.1,0,1,1,1,1);

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[])

{

//-------------Teleportari-----------------

if (strcmp("/ZonaStunt", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid, -494.60787964, 2189.5327,1484);

GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~g~Bun venit ~w~La ZonaStunt!",2000,3);

return 1;

}

if (strcmp("/WaterStunt", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid, 6765.8594,-4183.2446,4.6606);

GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~g~Bun venit ~w~La Water Stunt!",2000,3);

return 1;

}

if (strcmp("/SuperStunt", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid, 1983.43,-2751.77,5.31);

GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~g~Bun venit ~w~La Super Stunt",2000,3);

return 1;

}

if(strcmp(cmdtext,"/chilliad",true)==0)

{

if(GetPlayerState(playerid) == 2) {

SetVehiclePos(GetPlayerVehicleID(playerid),-2351.1985,-1583.7338,485.9818);

}

else

SetPlayerPos(playerid,-2351.1985,-1583.7338,485.9818);

SetPlayerInterior(playerid,0);

        SetPlayerFacingAngle(playerid,211.2378);

        SetCameraBehindPlayer(playerid);

    GameTextForPlayer(playerid,"~g~~h~Chilliad Mountain",2000,1);

return 1;

}

if (strcmp("/aa", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,405.9053,2456.6348,16.5000);

GameTextForPlayer(playerid,"Welcome ~r~Abandoned Airport!",2500,3);

    return 1;

}

if (strcmp("/drift1", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,-325.1331,1533.0276,75.3594);

SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift1");

SetPlayerInterior(playerid,0);

return 1;

}

if (strcmp("/drift2", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,2315.8945,1401.4497,42.8203);

  SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift2");

  SetPlayerInterior(playerid,0);

return 1;

}

if (strcmp("/drift3", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,1259.4164,-2027.4384,59.4366);

SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift3");

SetPlayerInterior(playerid,0);

  return 1;

}

if (strcmp("/drift4", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,-1056.5476,-1353.2755,129.9260);

  SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift4");

return 1;

}

    if (strcmp("/drift5", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,2221.7561,1962.5647,31.7797);

  SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift5");

  SetPlayerInterior(playerid,0);

    return 1;

}

    if (strcmp("/drift6", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,1148.0913,2179.3987,10.8203);

  SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift6");

  SetPlayerInterior(playerid,0);

return 1;

}

    if (strcmp("/drift7", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,-767.6177,2751.4990,45.7734);

SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift7");

SetPlayerInterior(playerid,0);

return 1;

}

if (strcmp("/drift8", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,-2135.2207,918.6221,79.8516);

SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift8");

SetPlayerInterior(playerid,0);

return 1;

}

if (strcmp("/drift9", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,-2699.5088,584.5812,15.8154);

SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift9");

  SetPlayerInterior(playerid,0);

  return 1;

}

if (strcmp("/drift10", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,-2412.5579,-604.6044,132.5625);

SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift10");

SetPlayerInterior(playerid,0);

return 1;

}

if (strcmp("/lvair", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,1318.2029,1284.1371,10.8203);

SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in Las Venturas Airport");

SetPlayerInterior(playerid,0);

return 1;

}

if (strcmp("/lsair", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,1978.5294,-2617.4849,19.0112);

SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in Los Santos Airport");

SetPlayerInterior(playerid,0);

return 1;

}

if (strcmp("/sf", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,-2703.3374,368.6161,4.3892);

SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in San Fierro");

return 1;

}

if (strcmp("/ls", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,259.3984,-1229.6013,73.7732);

SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in Los Santos");

return 1;

}

if (strcmp("/lv", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,1959.7703,1343.7137,15.3746);

SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in Las Venturas");

return 1;

}

if (strcmp("/grove", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid,2491.1365,-1685.7610,13.5106);

SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in Grove Street");

SetPlayerInterior(playerid,0);

return 1;

}

if(strcmp(cmdtext,"/sfair",true)==0)

{

SetPlayerPos(playerid,-1454.7158,-162.1252,14.1484);

GameTextForPlayer(playerid,"Bine ati venit in ~g~ To ~r~San Fierro Airport!",2500,3);

return 1;

}

//------------Comand /help----------------

if( strcmp( cmdtext, "/Teles", true) == 0)

{

SendClientMessage(playerid, 0xFFFF00AA, "----------------Teleportari---------------- ");

SendClientMessage(playerid, 0xFFFF00AA, "Stunt: /chilliad /SuperStunt /ZonaStunt /Lsair /Sfair /Lvair /sfair");

SendClientMessage(playerid, 0xFFFF00AA, "Stunt: /WaterStunt");

SendClientMessage(playerid, 0xFFFF00AA, "Drift: /drift1 /drift2 /drift3 /drift4 /drift5 /drift6 /drift7 /drift8 /drift9");

SendClientMessage(playerid, 0xFFFF00AA, "Zone Simple: /ls /sf /lv /grove");

return 1;

}

//-------------Masini----------------------

if( strcmp( cmdtext, "/nrg", true) == 0)

{

new Float:X, Float:Y, Float:Z,Float:a ;

GetPlayerFacingAngle(playerid,a);

GetPlayerPos(playerid, X, Y, Z);

CreateVehicle(522, X +2.0, Y +2.0, Z +2.0, a, -1,-1, 1000000000);

GameTextForPlayer(playerid , "~g~Stunti", 3000, 1);

return 1;

}

//--------------Comenzi masini--------------------

if ( strcmp ( cmdtext , "/lock", true)==0)

{

if (IsPlayerInAnyVehicle(playerid))

{

new State;

State=GetPlayerState(playerid);

if (State!=PLAYER_STATE_DRIVER)

{

SendClientMessage(playerid, 0x6ba500ff, "Tiai incuiat masina!");

return 1;

}

new i;

for(i=0;i<MAX_PLAYERS;i++)

{

if (i != playerid)

{

SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 1);

}

}

SendClientMessage(playerid, COLOR_RED, "Masian incuiata");

new Float:X, Float:Y, Float:Z;

GetPlayerPos(playerid, X, Y, Z);

PlayerPlaySound(playerid, 1056, X, Y, Z);

}

else

{

SendClientMessage(playerid, COLOR_RED, "Nu esti intrun vehicul!");

}

return 1;

}

if ( strcmp ( cmdtext , "/unlock", true)==0)

{

if (IsPlayerInAnyVehicle(playerid))

{

new State;

State=GetPlayerState(playerid);

if (State!=PLAYER_STATE_DRIVER)

{

SendClientMessage(playerid, 0x6ba500ff, "Ai deschis masina!");

return 1;

}

new i;

for(i=0;i<MAX_PLAYERS;i++)

{

SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 0);

}

SendClientMessage(playerid, 0x6ba500ff,"Masina este deblocata.");

new Float:X, Float:Y, Float:Z;

GetPlayerPos(playerid, X, Y, Z);

PlayerPlaySound(playerid, 1057, X, Y, Z);

}

else

{

SendClientMessage(playerid, 0x6ba500ff, "Nu esti in masina!");

}

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)

{

PlayerPlaySound(playerid,1186 ,0, 0, 0);

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;

}[/pawn]

Incearca...trebuia sa le aliniezi,si teleportarea zonastunt nu era bune coordonatele facute!

Posted

// Romania Super Stunt Original 0.3c
//by [GM]damarius
//                        Super GamemMode

#include <a_samp>
#include <streamer>
#include <dini>
#include <dudb>
#pragma tabsize 0
#pragma unused strtok
//[Pragma]
#pragma unused ret_memcpy

//[Defines]
#define MAX_SPAM 6
#define AFK 0x6AF7E1FF
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1

//[culori]
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define RED 0xE60000FF
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_RED 0xAA3333AA
#define COLOR_LIME 0x10F441AA
#define COLOR_MAGENTA 0xFF00FFFF
#define COLOR_NAVY 0x000080AA
#define COLOR_AQUA 0xF0F8FFAA
#define COLOR_CRIMSON 0xDC143CAA
#define COLOR_FLBLUE 0x6495EDAA
#define COLOR_BISQUE 0xFFE4C4AA
#define COLOR_BLACK 0x000000AA
#define COLOR_CHARTREUSE 0x7FFF00AA
#define COLOR_BROWN 0XA52A2AAA
#define COLOR_CORAL 0xFF7F50AA
#define COLOR_GOLD 0xB8860BAA
#define COLOR_GREENYELLOW 0xADFF2FAA
#define COLOR_INDIGO 0x4B00B0AA
#define COLOR_IVORY 0xFFFF82AA
#define COLOR_LAWNGREEN 0x7CFC00AA
#define COLOR_SEAGREEN 0x20B2AAAA
#define COLOR_LIMEGREEN 0x32CD32AA
#define COLOR_MIDNIGHTBLUE 0x191970AA
#define COLOR_MAROON 0x800000AA
#define COLOR_OLIVE 0x808000AA
#define COLOR_ORANGERED 0xFF4500AA
#define COLOR_PINK 0xFFC0CBAA
#define COLOR_SPRINGGREEN 0x00FF7FAA
#define COLOR_TOMATO 0xFF6347AA
#define COLOR_YELLOWGREEN 0x9ACD32AA
#define COLOR_MEDIUMAQUA 0x83BFBFAA
#define COLOR_MEDIUMMAGENTA 0x8B008BAA
#if defined FILTERSCRIPT

//[Forwards]
forward Keys();
forward DeleteRamp(playerid);
forward Float:GetRampDistance(playerid);
forward Float:GetPosInFrontOfPlayer(playerid, &Float:x, &Float:y, Float:distance);
forward Explode(playerid);
forward Givecashdelaytimer(playerid);
forward ReactionTest();
forward ReactionWin(playerid);
forward SetBack();
forward IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy);
forward Help3(playerid);
forward Help1(playerid);
forward Help0(playerid);
forward Help2(playerid);
forward Help4(playerid);
forward Help5(playerid);
forward Help6(playerid);
forward Help7(playerid);
forward Help8(playerid);
forward MinSpam();
forward Weaponcheck();
forward Weaponchecktimer(playerid);
forward TipMessages();
forward CountDown();
forward SetPlayerRandomSpawnBerlin(playerid);
forward SetPlayerRandomSpawn(playerid);
forward SetPlayerRandomSpawnCdm(playerid);
forward SetPlayerRandomSpawnWar(playerid);
forward SetPlayerRandomSpawnIs(playerid);
forward SetPlayerRandomSpawnAK47(playerid);
forward SetPlayerRandomSpawnSpS(playerid);
forward SetPlayerRandomSpawnWAR2(playerid);
forward SetPlayerRandomSpawnSniper(playerid);
forward SetupPlayerForClassSelection(playerid);
forward GameModeExitFunc();
forward SendPlayerFormattedText(playerid, const str[], define);
forward public SendAllFormattedText(playerid, const str[], define);
forward CheckStatus();
forward playerafk(playerid);
forward playerbrb(playerid);
forward GPSUpdate(playerid,playerid2);
forward reclama();
forward TDTime();
forward VehStateCheck();
forward antiveh(vehicleid);
forward KillVehicle(vehicleid, checkplayer);

//[new]
new Kill[MAX_PLAYERS];
new Peds[13][1] = {
{23},{24},{25},{11},{93},{192},{91},{156},{27},{193},{195},{200},{13}
};
new PVeh[MAX_PLAYERS];
new Text:players;

enum espawn
{
	Float:ex,
	Float:ey,
	Float:ez,
	interior,
	emsg[128]
}

new spawns[][espawn] = {
	{1282.6499,1267.8385,10.8203, 0, "SPAWN: Ai fost spawnat la aeroportul din LV!"},//Syntax: {x, y, z, interior, message}
	{1527.3297,-2455.9033,13.5547, 0, "SPAWN: Ai fost spawnat la aeroportul din LS!"},
	{284.668945, 2470.728515, 16.474884, 0, "SPAWN: Ai fost spawnat la aeroportul vechi! "},
	{-2355.5232,-1636.6266,483.7031, 0, "SPAWN: Ai fost spawnat la muntele Chilliad!"}
};

new VehicleNames[212][] = {
   "Landstalker",  "Bravura",  "Buffalo", "Linerunner", "Perennial", "Sentinel",
   "Dumper",  "Firetruck" ,  "Trashmaster" ,  "Stretch",  "Manana",  "Infernus",
   "Voodoo", "Pony",  "Mule", "Cheetah", "Ambulance",  "Leviathan",  "Moonbeam",
   "Esperanto", "Taxi",  "Washington",  "Bobcat",  "Mr Whoopee", "BF Injection",
   "Hunter", "Premier",  "Enforcer",  "Securicar", "Banshee", "Predator", "Bus",
   "Rhino",  "Barracks",  "Hotknife",  "Trailer",  "Previon", "Coach", "Cabbie",
   "Stallion", "Rumpo", "RC Bandit",  "Romero", "Packer", "Monster",  "Admiral",
   "Squalo", "Seasparrow", "Pizzaboy", "Tram", "Trailer",  "Turismo", "Speeder",
   "Reefer", "Tropic", "Flatbed","Yankee", "Caddy", "Solair","Berkley's RC Van",
   "Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron","RC Raider","Glendale",
   "Oceanic", "Sanchez", "Sparrow",  "Patriot", "Quad",  "Coastguard", "Dinghy",
   "Hermes", "Sabre", "Rustler", "ZR-350", "Walton",  "Regina",  "Comet", "BMX",
   "Burrito", "Camper", "Marquis", "Baggage", "Dozer","Maverick","News Chopper",
   "Rancher", "FBI Rancher", "Virgo", "Greenwood","Jetmax","Hotring","Sandking",
   "Blista Compact", "Police Maverick", "Boxville", "Benson","Mesa","RC Goblin",
   "Hotring Racer", "Hotring Racer", "Bloodring Banger", "Rancher",  "Super GT",
   "Elegant", "Journey", "Bike", "Mountain Bike", "Beagle", "Cropdust", "Stunt",
   "Tanker", "RoadTrain", "Nebula", "Majestic", "Buccaneer", "Shamal",  "Hydra",
   "FCR-900","NRG-500","HPV1000","Cement Truck","Tow Truck","Fortune","Cadrona",
   "FBI Truck", "Willard", "Forklift","Tractor","Combine","Feltzer","Remington",
   "Slamvan", "Blade", "Freight", "Streak","Vortex","Vincent","Bullet","Clover",
   "Sadler",  "Firetruck", "Hustler", "Intruder", "Primo", "Cargobob",  "Tampa",
   "Sunrise", "Merit",  "Utility Truck",  "Nevada", "Yosemite", "Windsor",  "Monster",
   "Monster","Uranus","Jester","Sultan","Stratum","Elegy","Raindance","RCTiger",
   "Flash","Tahoma","Savanna", "Bandito", "Freight", "Trailer", "Kart", "Mower",
   "Dune", "Sweeper", "Broadway", "Tornado", "AT-400",  "DFT-30", "Huntley",
   "Stafford", "BF-400", "Newsvan","Tug","Trailer","Emperor","Wayfarer","Euros",
   "Hotdog", "Club", "Trailer", "Trailer","Andromada","Dodo","RC Cam", "Launch",
   "Police Car (LSPD)", "Police Car (SFPD)","Police Car (LVPD)","Police Ranger",
   "Picador",   "S.W.A.T. Van",  "Alpha",   "Phoenix",   "Glendale",   "Sadler",
   "Luggage Trailer","Luggage Trailer","Stair Trailer", "Boxville", "Farm Plow",
   "Utility Trailer"
};

new Float:GDM[7][3] = {  //G-DM
	{ 992.927,-1275.592,25.237 },
	{ 875.694,-1278.225,22.321 },
	{ 821.402,-1273.984,12.842 },
	{ 869.690,-1228.987,14.620 },
	{ 922.599,-1189.074,16.212 },
	{ 891.474,-1167.694,16.212 },
	{ 824.612,-1247.725,27.792 }
};
new Float:TDM[4][3] = {  //T-DM
	{ 3164.422,509.638,58.795 },
	{ 3129.027,554.167,58.358 },
	{ 3166.050,607.433,58.464 },
	{ 3194.825,554.248,58.982 }
};

public SetPlayerGDMS(playerid)
	{
	new rand = random(sizeof(GDM));
	SetPlayerPos(playerid, GDM[rand][0], GDM[rand][1], GDM[rand][2]);
	return 1;
}
public SetPlayerTDM(playerid)
	{
	new rand = random(sizeof(TDM));
	SetPlayerPos(playerid, TDM[rand][0], TDM[rand][1], TDM[rand][2]);
	return 1;
}

new RandMessages[][] =
{
    "Aminteste-ti sa utilizezi /help înainte de a cere ajutor unui administrator sau unui alt jucator!",
	"Nu vrei vrei sa pierzi adresa server-ului ? Adauga acest ip la lista favoritelor !",
	"Nu face spam sau sa adresezi insulte cuiva! Acestea vor avea ca rezultat kick sau ban !!",
	"Vrei sa devii admin ? Aplica pe www.uzone.smfnew.com",
	"Aminteste-ti mereu sa respecti regulile!",
	"Ai vreo sugestie? Foloseste comanda /sugestie si putem improviza!",
	"Vrei nitrogen ? Apasa 2 !",
	"Ai gasit un bug sau un glitch ? Raporteaza-l! Foloseste /bug si spuneni-l!",
	"Vrei sa-ti refaci masina ? Foloseste /respray",
	"Esti blocat in desert fara vehicul ? Scrie /nrg pentru a obtine un NRG personal!",
	"Vrei sa-ti tunezi masina ? Uita-te la comanda /tune"
};

new MMsgs[][] =
{
	"» Vrei sa cazi din cer ? Incearca /FD1-2",
	"» Vrei sa ai un fior ? Incearca /lc",
	"» Stunt-uri tari -> /lsair /sfair /lvair /aa",
	"» Esti un parasutist ? Incearca /bsj(1-9)",
	"» De ce nu încerci niste sarituri mari ? /bj(1-7)",
	"» Vrei niste DM ? Incearca /dm",
	"» Impingei pe toti! Sumo de vehicule: /cs - /vf"
};

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Romania Super Stunt Orginal 0.3c");
	print("--------------------------------------\n");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

#else

main()
{
	print("\n----------------------------------");
	print(" Gamemode by [GM]damarius");
	print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
	SetGameModeText("Romania: Super Stunt 0.3c");

	AddPlayerClass(0,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);
	AddPlayerClass(1,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(13,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(16,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(18,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(19,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(21,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(22,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(23,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(26,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(27,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(28,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(29,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(30,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(33,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(36,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(46,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(299,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(296,1222.5375,-2036.8712,65.2266,269.1634,0,0,0,0,0,0);
	AddPlayerClass(285,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0);
	AddPlayerClass(286,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0);
	AddPlayerClass(287,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0);
	AddPlayerClass(288,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0);
	AddPlayerClass(102,1222.7469,-2037.1483,65.2266,279.0452,0,0,0,0,0,0);
	AddPlayerClass(103,1222.9333,-2036.9647,65.1844,270.4167,0,0,0,0,0,0);
	AddPlayerClass(104,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);
	AddPlayerClass(105,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);
	AddPlayerClass(106,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);
	AddPlayerClass(107,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);
	AddPlayerClass(128,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0);
//Obiectele


	return 1;
}

public OnGameModeExit()
{
}

public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerCameraPos(playerid, 886.708923, -2091.452636, 13.047561);
    SetPlayerCameraLookAt(playerid, 891.617492, -2091.417968, 13.047561);
    SetPlayerPos(playerid, 891.617492, -2091.417968, 13.047561);
    SetPlayerInterior(playerid, 0);
    SetPlayerFacingAngle(playerid, 270.409423);
	PlayerPlaySound(playerid,1058 ,0, 0, 0);
    ApplyAnimation(playerid,"KISSING","BD_GF_Wave",4.1,0,1,1,1,1);

	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[])
{
//-------------Teleportari-----------------
if (strcmp("/ZonaStunt", cmdtext, true, 10) == 0)
	{
				SetPlayerPos(playerid, -494.60787964, 2189.5327,1484);
				GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~g~Bun venit ~w~La ZonaStunt!",2000,3);
	return 1;
	}
if (strcmp("/WaterStunt", cmdtext, true, 10) == 0)
	{
				SetPlayerPos(playerid, 6765.8594,-4183.2446,4.6606);
				GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~g~Bun venit ~w~La Water Stunt!",2000,3);
	return 1;
	}
if (strcmp("/SuperStunt", cmdtext, true, 10) == 0)
	{
				SetPlayerPos(playerid, 1983.43,-2751.77,5.31);
				GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~g~Bun venit ~w~La Super Stunt",2000,3);
	return 1;
	}
if(strcmp(cmdtext,"/chilliad",true)==0)
		{
if(GetPlayerState(playerid) == 2) {
		SetVehiclePos(GetPlayerVehicleID(playerid),-2351.1985,-1583.7338,485.9818);
		}
		else
		SetPlayerPos(playerid,-2351.1985,-1583.7338,485.9818);
		SetPlayerInterior(playerid,0);
        SetPlayerFacingAngle(playerid,211.2378);
        SetCameraBehindPlayer(playerid);
	    GameTextForPlayer(playerid,"~g~~h~Chilliad Mountain",2000,1);
return 1;
}
if (strcmp("/aa", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,405.9053,2456.6348,16.5000);
GameTextForPlayer(playerid,"Welcome ~r~Abandoned Airport!",2500,3);
    return 1;
}
if (strcmp("/drift1", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,-325.1331,1533.0276,75.3594);
	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift1");
	SetPlayerInterior(playerid,0);
	return 1;
	}
	if (strcmp("/drift2", cmdtext, true, 10) == 0)
	{
 	SetPlayerPos(playerid,2315.8945,1401.4497,42.8203);
  	SendClientMessage(playerid,	COLOR_GREEN,"Bine ai venit la drift2");
   	SetPlayerInterior(playerid,0);
	return 1;
	}
	if (strcmp("/drift3", cmdtext, true, 10) == 0)
	{
 	SetPlayerPos(playerid,1259.4164,-2027.4384,59.4366);
	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift3");
 	SetPlayerInterior(playerid,0);
  	return 1;
	}
	if (strcmp("/drift4", cmdtext, true, 10) == 0)
	{
 	SetPlayerPos(playerid,-1056.5476,-1353.2755,129.9260);
  	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift4");
	return 1;
	}
    if (strcmp("/drift5", cmdtext, true, 10) == 0)
	{
 	SetPlayerPos(playerid,2221.7561,1962.5647,31.7797);
  	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift5");
   	SetPlayerInterior(playerid,0);
    return 1;
	}
    if (strcmp("/drift6", cmdtext, true, 10) == 0)
	{
 	SetPlayerPos(playerid,1148.0913,2179.3987,10.8203);
  	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift6");
   	SetPlayerInterior(playerid,0);
	return 1;
	}
    if (strcmp("/drift7", cmdtext, true, 10) == 0)
	{
 	SetPlayerPos(playerid,-767.6177,2751.4990,45.7734);
 	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift7");
 	SetPlayerInterior(playerid,0);
 	return 1;
	}
	if (strcmp("/drift8", cmdtext, true, 10) == 0)
	{
 	SetPlayerPos(playerid,-2135.2207,918.6221,79.8516);
 	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift8");
 	SetPlayerInterior(playerid,0);
 	return 1;
	}
	if (strcmp("/drift9", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,-2699.5088,584.5812,15.8154);
 	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift9");
  	SetPlayerInterior(playerid,0);
  	return 1;
	}
	if (strcmp("/drift10", cmdtext, true, 10) == 0)
	{
 	SetPlayerPos(playerid,-2412.5579,-604.6044,132.5625);
 	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit la drift10");
 	SetPlayerInterior(playerid,0);
 	return 1;
	}
	if (strcmp("/lvair", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,1318.2029,1284.1371,10.8203);
	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in Las Venturas Airport");
	SetPlayerInterior(playerid,0);
	return 1;
	}
	if (strcmp("/lsair", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,1978.5294,-2617.4849,19.0112);
	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in Los Santos Airport");
	SetPlayerInterior(playerid,0);
	return 1;
	}
	if (strcmp("/sf", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,-2703.3374,368.6161,4.3892);
	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in San Fierro");
	return 1;
	}
	if (strcmp("/ls", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,259.3984,-1229.6013,73.7732);
	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in Los Santos");
	return 1;
	}
	if (strcmp("/lv", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,1959.7703,1343.7137,15.3746);
	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in Las Venturas");
	return 1;
	}
	if (strcmp("/grove", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,2491.1365,-1685.7610,13.5106);
	SendClientMessage(playerid, COLOR_GREEN,"Bine ai venit in Grove Street");
	SetPlayerInterior(playerid,0);
	return 1;
	}
	if(strcmp(cmdtext,"/sfair",true)==0)
 {
SetPlayerPos(playerid,-1454.7158,-162.1252,14.1484);
GameTextForPlayer(playerid,"Bine ati venit in ~g~ To ~r~San Fierro Airport!",2500,3);
	return 1;
	}
//------------Comand /help----------------
if( strcmp( cmdtext, "/Teles", true) == 0)
{

SendClientMessage(playerid, 0xFFFF00AA, "----------------Teleportari---------------- ");

SendClientMessage(playerid, 0xFFFF00AA, "Stunt: /chilliad /SuperStunt /ZonaStunt /Lsair /Sfair /Lvair /sfair");
SendClientMessage(playerid, 0xFFFF00AA, "Stunt: /WaterStunt");
SendClientMessage(playerid, 0xFFFF00AA, "Drift: /drift1 /drift2 /drift3 /drift4 /drift5 /drift6 /drift7 /drift8 /drift9");
SendClientMessage(playerid, 0xFFFF00AA, "Zone Simple: /ls /sf /lv /grove");

return 1;
}

//-------------Masini----------------------
	if( strcmp( cmdtext, "/nrg", true) == 0)
	{
		new Float:X, Float:Y, Float:Z,Float:a ;
		GetPlayerFacingAngle(playerid,a);
		GetPlayerPos(playerid, X, Y, Z);
		CreateVehicle(522, X +2.0, Y +2.0, Z +2.0, a, -1,-1, 1000000000);
		GameTextForPlayer(playerid , "~g~Stunti", 3000, 1);
		return 1;
	}
//--------------Comenzi masini--------------------
		if ( strcmp ( cmdtext , "/lock", true)==0)
	{
	if (IsPlayerInAnyVehicle(playerid))
	{
	new State;
	State=GetPlayerState(playerid);
	if (State!=PLAYER_STATE_DRIVER)
	{
	SendClientMessage(playerid, 0x6ba500ff, "Tiai incuiat masina!");
	return 1;
	}
	new i;
	for(i=0;i<MAX_PLAYERS;i++)
	{
	if (i != playerid)
	{
	SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 1);
	}
	}
	SendClientMessage(playerid, COLOR_RED, "Masian incuiata");
	new Float:X, Float:Y, Float:Z;
	GetPlayerPos(playerid, X, Y, Z);
	PlayerPlaySound(playerid, 1056, X, Y, Z);
	}
	else
	{
	SendClientMessage(playerid, COLOR_RED, "Nu esti intrun vehicul!");
	}
	return 1;
	}
if ( strcmp ( cmdtext , "/unlock", true)==0)
	{
	if (IsPlayerInAnyVehicle(playerid))
	{
	new State;
	State=GetPlayerState(playerid);
	if (State!=PLAYER_STATE_DRIVER)
	{
	SendClientMessage(playerid, 0x6ba500ff, "Ai deschis masina!");
	return 1;
	}

	new i;
	for(i=0;i<MAX_PLAYERS;i++)
	{
	SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 0);
	}
	SendClientMessage(playerid, 0x6ba500ff,"Masina este deblocata.");
	new Float:X, Float:Y, Float:Z;
	GetPlayerPos(playerid, X, Y, Z);
	PlayerPlaySound(playerid, 1057, X, Y, Z);
	}
	else
	{
	SendClientMessage(playerid, 0x6ba500ff, "Nu esti in masina!");
	}
	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)
{

 PlayerPlaySound(playerid,1186 ,0, 0, 0);
	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;
}

Ia-l p'asta, cel de la Ruben dadea erori, ca e un mic bug cu BBC-ul [ pawn ]

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.