Jump to content
  • 0

Cand ies din masina dispare


TheHbK2310

Question

Dupa cum spune si titlul dupa ce ies din masina ia apare acolo unde sa spawnat prima data.Asa este normal la cele care sunt create cu functia CreateVehicle dar am un script dp forum care l-am inclus in GM .

Cum fac ca masina sa ramana langa mine cand ma dau jos din ea?

Sursa:

#include <a_samp>

#define COLOR_RED 0xAA3333AA
#define COLOR_GREEN 0x33AA33AA

main(){}
public OnGameModeInit( )
{
	/////Fete playeri/////
	AddPlayerClass(0,-1794.0507,1023.5720,24.8779,51.6313,0,0,0,0,0,0);
	AddPlayerClass(7,-1794.0507,1023.5720,24.8779,51.6313,0,0,0,0,0,0);
	AddPlayerClass(19,-1794.0507,1023.5720,24.8779,51.6313,0,0,0,0,0,0);
	AddPlayerClass(20,-1794.0507,1023.5720,24.8779,51.6313,0,0,0,0,0,0);
	AddPlayerClass(21,-1794.0507,1023.5720,24.8779,51.6313,0,0,0,0,0,0);
	AddPlayerClass(22,-1794.0507,1023.5720,24.8779,51.6313,0,0,0,0,0,0);
	AddPlayerClass(24,-1794.0507,1023.5720,24.8779,51.6313,0,0,0,0,0,0);
	AddPlayerClass(25,-1794.0507,1023.5720,24.8779,51.6313,0,0,0,0,0,0);
	AddPlayerClass(28,-1794.0507,1023.5720,24.8779,51.6313,0,0,0,0,0,0);
	AddPlayerClass(81,-1794.0507,1023.5720,24.8779,51.6313,0,0,0,0,0,0);
	////Home Car//////
    CreateVehicle(402, -62.7878, -300.3105, 5.4297, 269.6142, 0, 1, 20);
	CreateVehicle(402, -62.2461, -303.7956, 5.4297, 265.0591, 0, 1, 20);
    CreateVehicle(415, -62.0897, -307.3839, 5.4297, 265.0591, 0, 1, 20);
    CreateVehicle(415, -62.0170, -310.9942, 5.4297, 265.0591, 0, 1, 20);
    CreateVehicle(424, -61.8988, -314.3288, 5.4297, 265.0591, 0, 1, 20);
    CreateVehicle(424, -61.8020, -317.6589, 5.4297, 265.0591, 0, 1, 20);
    CreateVehicle(429, -61.7460, -321.1684, 5.4297, 265.0591, 0, 1, 20);
    CreateVehicle(429, -61.6503, -324.7593, 5.4297, 265.0591, 0, 1, 20);
    CreateVehicle(434, -32.0846, -296.8846, 5.4297, 273.5193, 0, 1, 20);
    CreateVehicle(434, -31.9416, -293.5343, 5.4297, 271.0126, 0, 1, 20);
    CreateVehicle(436, -31.5592, -290.0857, 5.4297, 271.0126, 0, 1, 20);
    //////End Car Home//////////
    /////Chilliad Cars///////////
   	AddStaticVehicleEx(411,-2314.0481,-1599.7676,483.6364,134.9019,112,1, 20); // infe chilliad
	AddStaticVehicleEx(411,-2311.0132,-1603.2207,483.6551,134.1243,106,1, 20); // infe chilliad id 105
	AddStaticVehicleEx(541,-2307.4854,-1607.1907,483.5508,131.6031,36,8, 20); // bullet chilliad
	AddStaticVehicleEx(541,-2304.2947,-1611.1539,483.5298,130.3961,51,1, 20); // bullet chilliad
	AddStaticVehicleEx(451,-2300.7366,-1614.8920,483.5774,131.3828,61,61, 20); // turismo chilliad
	AddStaticVehicleEx(451,-2297.3423,-1619.4315,483.5366,126.7706,75,75, 20); // turismo chilliad
	AddStaticVehicleEx(444,-2295.3147,-1625.3425,484.1470,115.4383,32,42, 20); // monster chilliad id 110
	AddStaticVehicleEx(444,-2292.9502,-1632.7642,484.0809,113.1777,32,53, 20); // monster chilliad
	AddStaticVehicleEx(522,-2290.3208,-1637.7913,483.2754,112.0105,3,3, 20); // nrg chilliad
	AddStaticVehicleEx(522,-2289.3376,-1640.6046,483.1975,108.1702,3,8, 20); // nrg chilliad
	AddStaticVehicleEx(522,-2288.9844,-1643.2251,483.0830,103.6852,6,25, 20); // nrg chilliad
	AddStaticVehicleEx(468,-2288.5493,-1645.8513,483.0733,94.5167,46,46, 20); // sanchez chilliad id 115
	AddStaticVehicleEx(468,-2288.9409,-1648.6196,482.9751,85.2007,53,53, 20); // sanchez chilliad
	AddStaticVehicleEx(539,-2288.3938,-1656.0934,482.3604,85.7488,79,74, 20); // vortex chilliad
	AddStaticVehicleEx(539,-2289.2249,-1660.5061,482.2084,80.9917,70,86, 20); // vortex chilliad
    /////End Car Chilliad////////
    print("HbK2310 Mod Started!");
    
    SetGameModeText("RaCe AnD DrIft");
    ShowPlayerMarkers(1);
    ShowNameTags(1);
    return 1;
}
/////////////////////////////////////////////////////////////////////
public OnPlayerRequestClass(playerid, classid) //cand jucatorul isi alege caracterul
{
        SetPlayerPos(playerid,-40.4813,98.0395,5.9670);
        SetPlayerFacingAngle(playerid, 247.1089);
        SetPlayerCameraPos(playerid,-36.7761,96.6834,6.0763);
        SetPlayerCameraLookAt(playerid,-40.4813,98.0395,5.9670);
        return 1;
}
/////////////////////////////////////////////////////////////////////
public OnPlayerDeath(playerid, killerid, reason)
{
        GameTextForPlayer(playerid, "~r~Din pacate ai murit", 800, 0);
        return 1;
}
/////////////////////////////////////////////////////////////////////
public OnGameModeExit()
{
    print("Gamemode ended.");
    return 1;
}
/////////////////////////////////////////////////////////////////////
public OnPlayerConnect(playerid)
{
    new string[64], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(string,sizeof string,"%s has joined the server. Welcome!",pName);
    SendClientMessageToAll(COLOR_RED,string);
    return 1;
}
/////////////////////////////////////////////////////////////////////
public OnPlayerDisconnect(playerid, reason)
{
    new
        string[64],
        name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,MAX_PLAYER_NAME);
    switch(reason)
    {
        case 0: format(string,sizeof string,"%s left the server. (Timed out)",name);
        case 1: format(string,sizeof string,"%s left the server. (Leaving)",name);
        case 2: format(string,sizeof string,"%s left the server. (Kicked/Banned)",name);
    }
    SendClientMessageToAll(COLOR_RED,string);
    return 1;
}
/////////////////////////////////////////////////////////////////////
public OnPlayerSpawn(playerid)
{
    new PlayerName[MAX_PLAYER_NAME],
    string[128];
    GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
    format(string, sizeof(string),"%s has spawned.", PlayerName);
    SendClientMessageToAll(COLOR_GREEN, string);
    SetPlayerPos(playerid,-49.5853,-271.0725,6.6332);
    return 1;
}
/////////////////////////////////////////////////////////////////////
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/landstalker", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, landstalker;
	    GetPlayerPos(playerid, X, Y, Z);
	    landstalker = CreateVehicle(400, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, landstalker, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "LandStalker succesfully created!");
	    return 1;
	}
	if (strcmp("/bravura", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, bravura;
	    GetPlayerPos(playerid, X, Y, Z);
	    bravura = CreateVehicle(401, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, bravura, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Bravura succesfully created!");
	    return 1;
	}
	if (strcmp("/buffalo", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, buffalo;
	    GetPlayerPos(playerid, X, Y, Z);
	    buffalo = CreateVehicle(402, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, buffalo, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Buffalo succesfully created!");
	    return 1;
	}
	if (strcmp("/linerunner", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, linerunner;
	    GetPlayerPos(playerid, X, Y, Z);
	    linerunner = CreateVehicle(403, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, linerunner, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "LineRunner succesfully created!");
	    return 1;
	}
	if (strcmp("/perenniel", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, perenniel;
	    GetPlayerPos(playerid, X, Y, Z);
	    perenniel = CreateVehicle(404, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, perenniel, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Perenniel succesfully created!");
	    return 1;
	}
	if (strcmp("/sentinel", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, sentinel;
	    GetPlayerPos(playerid, X, Y, Z);
	    sentinel = CreateVehicle(405, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, sentinel, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Sentinel succesfully created!");
	    return 1;
	}
	if (strcmp("/dumper", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, dumper;
	    GetPlayerPos(playerid, X, Y, Z);
	    dumper = CreateVehicle(406, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, dumper, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Dumper succesfully created!");
	    return 1;
	}
	if (strcmp("/firetruck", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, firetruck;
	    GetPlayerPos(playerid, X, Y, Z);
	    firetruck = CreateVehicle(407, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, firetruck, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "FireTruck succesfully created!");
	    return 1;
	}
	if (strcmp("/trashmaster", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, trashmaster;
	    GetPlayerPos(playerid, X, Y, Z);
	    trashmaster = CreateVehicle(408, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, trashmaster, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "TrashMaster succesfully created!");
	    return 1;
	}
	if (strcmp("/stretch", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, stretch;
	    GetPlayerPos(playerid, X, Y, Z);
	    stretch = CreateVehicle(409, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, stretch, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Stretch succesfully created!");
	    return 1;
	}
	if (strcmp("/manana", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, manana;
	    GetPlayerPos(playerid, X, Y, Z);
	    manana = CreateVehicle(410, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, manana, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Manana succesfully created!");
	    return 1;
	}
	if (strcmp("/infernus", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, infernus;
	    GetPlayerPos(playerid, X, Y, Z);
	    infernus = CreateVehicle(411, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, infernus, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Infernus succesfully created!");
	    return 1;
	}
	if (strcmp("/voodoo", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, voodoo;
	    GetPlayerPos(playerid, X, Y, Z);
	    voodoo = CreateVehicle(412, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, voodoo, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Voodoo succesfully created!");
	    return 1;
	}
	if (strcmp("/pony", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, pony;
	    GetPlayerPos(playerid, X, Y, Z);
	    pony = CreateVehicle(413, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, pony, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Pony succesfully created!");
	    return 1;
	}
	if (strcmp("/mule", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, mule;
	    GetPlayerPos(playerid, X, Y, Z);
	    mule = CreateVehicle(414, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, mule, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Mule succesfully created!");
	    return 1;
	}
	if (strcmp("/cheetah", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, cheetah;
	    GetPlayerPos(playerid, X, Y, Z);
	    cheetah = CreateVehicle(415, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, cheetah, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Cheetah succesfully created!");
	    return 1;
	}
	if (strcmp("/ambulance", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, ambulance;
	    GetPlayerPos(playerid, X, Y, Z);
	    ambulance = CreateVehicle(416, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, ambulance, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Ambulance succesfully created!");
	    return 1;
	}
	if (strcmp("/leviathan", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, leviathan;
	    GetPlayerPos(playerid, X, Y, Z);
	    leviathan = CreateVehicle(417, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, leviathan, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Leviathan succesfully created!");
	    return 1;
	}
	if (strcmp("/moonbeam", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, moonbeam;
	    GetPlayerPos(playerid, X, Y, Z);
	    moonbeam = CreateVehicle(418, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, moonbeam, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "MoonBeam succesfully created!");
	    return 1;
	}
	if (strcmp("/esperanto", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, esperanto;
	    GetPlayerPos(playerid, X, Y, Z);
	    esperanto = CreateVehicle(419, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, esperanto, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Esperanto succesfully created!");
	    return 1;
	}
	if (strcmp("/taxi", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, taxi;
	    GetPlayerPos(playerid, X, Y, Z);
	    taxi = CreateVehicle(420, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, taxi, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Taxi succesfully created!");
	    return 1;
	}
	if (strcmp("/washington", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, washington;
	    GetPlayerPos(playerid, X, Y, Z);
	    washington = CreateVehicle(421, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, washington, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Washington succesfully created!");
	    return 1;
	}
	if (strcmp("/bobcat", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, bobcat;
	    GetPlayerPos(playerid, X, Y, Z);
	    bobcat = CreateVehicle(422, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, bobcat, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Bobcat succesfully created!");
	    return 1;
	}
	if (strcmp("/mrwhoope", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, mrwhoope;
	    GetPlayerPos(playerid, X, Y, Z);
	    mrwhoope = CreateVehicle(423, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, mrwhoope, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Mr Whoope succesfully created!");
	    return 1;
	}
	if (strcmp("/bfinjection", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, bfinjection;
	    GetPlayerPos(playerid, X, Y, Z);
	    bfinjection = CreateVehicle(424, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, bfinjection, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "BF Injection succesfully created!");
	    return 1;
	}
	if (strcmp("/hunter", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, hunter;
	    GetPlayerPos(playerid, X, Y, Z);
	    hunter = CreateVehicle(425, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, hunter, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Hunter succesfully created!");
	    return 1;
	}
	if (strcmp("/premier", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, premier;
	    GetPlayerPos(playerid, X, Y, Z);
	    premier = CreateVehicle(426, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, premier, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Premier succesfully created!");
	    return 1;
	}
	if (strcmp("/enforcer", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, enforcer;
	    GetPlayerPos(playerid, X, Y, Z);
	    enforcer = CreateVehicle(427, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, enforcer, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Enforcer succesfully created!");
	    return 1;
	}
	if (strcmp("/securicar", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, securicar;
	    GetPlayerPos(playerid, X, Y, Z);
	    securicar = CreateVehicle(428, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, securicar, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "SecuriCar succesfully created!");
	    return 1;
	}
	if (strcmp("/banshee", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, banshee;
	    GetPlayerPos(playerid, X, Y, Z);
	    banshee = CreateVehicle(429, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, banshee, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Banshee succesfully created!");
	    return 1;
	}
	if (strcmp("/predator", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, predator;
	    GetPlayerPos(playerid, X, Y, Z);
	    predator = CreateVehicle(430, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, predator, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Predator succesfully created!");
	    return 1;
	}
	if (strcmp("/bus", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, bus;
	    GetPlayerPos(playerid, X, Y, Z);
	    bus = CreateVehicle(431, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, bus, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Bus succesfully created!");
	    return 1;
	}
	if (strcmp("/rhino", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, rhino;
	    GetPlayerPos(playerid, X, Y, Z);
	    rhino = CreateVehicle(432, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, rhino, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Rhino succesfully created!");
	    return 1;
	}
	if (strcmp("/barracks", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, barracks;
	    GetPlayerPos(playerid, X, Y, Z);
	    barracks = CreateVehicle(433, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, barracks, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Barracks succesfully created!");
	    return 1;
	}
	if (strcmp("/hotknife", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, hotknife;
	    GetPlayerPos(playerid, X, Y, Z);
	    hotknife = CreateVehicle(434, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, hotknife, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "HotKnife succesfully created!");
	    return 1;
	}
	if (strcmp("/articletrailer", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, articletrailer;
	    GetPlayerPos(playerid, X, Y, Z);
	    articletrailer = CreateVehicle(435, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, articletrailer, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Article Trailer succesfully created!");
	    return 1;
	}
	if (strcmp("/previon", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, previon;
	    GetPlayerPos(playerid, X, Y, Z);
	    previon = CreateVehicle(436, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, previon, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Previon succesfully created!");
	    return 1;
	}
	if (strcmp("/coach", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, coach;
	    GetPlayerPos(playerid, X, Y, Z);
	    coach = CreateVehicle(437, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, coach, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Coach succesfully created!");
	    return 1;
	}
	if (strcmp("/cabbie", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, cabbie;
	    GetPlayerPos(playerid, X, Y, Z);
	    cabbie = CreateVehicle(438, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, cabbie, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Cabbie succesfully created!");
	    return 1;
	}

	}
	if (strcmp("/faggio", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, faggio;
	    GetPlayerPos(playerid, X, Y, Z);
	    faggio = CreateVehicle(462, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, faggio, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Faggio succesfully created!");
	    return 1;
	}
	if (strcmp("/freeway", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, freeway;
	    GetPlayerPos(playerid, X, Y, Z);
	    freeway = CreateVehicle(463, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, freeway, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Freeway succesfully created!");
	    return 1;
	}
	if (strcmp("/rcbaron", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, rcbaron;
	    GetPlayerPos(playerid, X, Y, Z);
	    rcbaron = CreateVehicle(464, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, rcbaron, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "RC Baron succesfully created!");
	    return 1;
	}
	if (strcmp("/rcraider", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, rcraider;
	    GetPlayerPos(playerid, X, Y, Z);
	    rcraider = CreateVehicle(465, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, rcraider, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "RC Raider succesfully created!");
	    return 1;
	}
	if (strcmp("/glendale", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, glendale;
	    GetPlayerPos(playerid, X, Y, Z);
	    glendale = CreateVehicle(466, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, glendale, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Glendale succesfully created!");
	    return 1;
	}
	if (strcmp("/oceanic", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, oceanic;
	    GetPlayerPos(playerid, X, Y, Z);
	    oceanic = CreateVehicle(467, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, oceanic, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Oceanic succesfully created!");
	    return 1;
	}
	if (strcmp("/sanchez", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, sanchez;
	    GetPlayerPos(playerid, X, Y, Z);
	    sanchez = CreateVehicle(468, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, sanchez, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Sanchez succesfully created!");
	    return 1;
	}
	if (strcmp("/sparrow", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, sparrow;
	    GetPlayerPos(playerid, X, Y, Z);
	    sparrow = CreateVehicle(469, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, sparrow, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Sparrow succesfully created!");
	    return 1;
	}
	if (strcmp("/patriot", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, patriot;
	    GetPlayerPos(playerid, X, Y, Z);
	    patriot = CreateVehicle(470, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, patriot, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Patriot succesfully created!");
	    return 1;
	}
	if (strcmp("/quad", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, quad;
	    GetPlayerPos(playerid, X, Y, Z);
	    quad = CreateVehicle(471, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, quad, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Quad succesfully created!");
	    return 1;
	}
	if (strcmp("/coastguard", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, coastguard;
	    GetPlayerPos(playerid, X, Y, Z);
	    coastguard = CreateVehicle(472, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, coastguard, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "CoastGuard succesfully created!");
	    return 1;
	}
	if (strcmp("/dinghy", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, dinghy;
	    GetPlayerPos(playerid, X, Y, Z);
	    dinghy = CreateVehicle(473, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, dinghy, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Dinghy succesfully created!");
	    return 1;
	}
	if (strcmp("/hermes", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, hermes;
	    GetPlayerPos(playerid, X, Y, Z);
	    hermes = CreateVehicle(474, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, hermes, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Hermes succesfully created!");
	    return 1;
	}
	if (strcmp("/sabre", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, sabre;
	    GetPlayerPos(playerid, X, Y, Z);
	    sabre = CreateVehicle(475, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, sabre, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Sabre succesfully created!");
	    return 1;
	}
	if (strcmp("/rustler", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, rustler;
	    GetPlayerPos(playerid, X, Y, Z);
	    rustler = CreateVehicle(476, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, rustler, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Rustler succesfully created!");
	    return 1;
	}
	if (strcmp("/zr350", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, zr350;
	    GetPlayerPos(playerid, X, Y, Z);
	    zr350 = CreateVehicle(477, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, zr350, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "ZR-350 succesfully created!");
	    return 1;
	}
	if (strcmp("/walton", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, walton;
	    GetPlayerPos(playerid, X, Y, Z);
	    walton = CreateVehicle(478, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, walton, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Walton succesfully created!");
	    return 1;
	}
	if (strcmp("/regina", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, regina;
	    GetPlayerPos(playerid, X, Y, Z);
	    regina = CreateVehicle(479, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, regina, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Regina succesfully created!");
	    return 1;
	}
	if (strcmp("/comet", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, comet;
	    GetPlayerPos(playerid, X, Y, Z);
	    comet = CreateVehicle(480, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, comet, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Comet succesfully created!");
	    return 1;
	}
	if (strcmp("/bmx", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, bmx;
	    GetPlayerPos(playerid, X, Y, Z);
	    bmx = CreateVehicle(481, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, bmx, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "BMX succesfully created!");
	    return 1;
	}
	if (strcmp("/burrito", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, burrito;
	    GetPlayerPos(playerid, X, Y, Z);
	    burrito = CreateVehicle(482, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, burrito, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Burrito succesfully created!");
	    return 1;
	}
	if (strcmp("/camper", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, camper;
	    GetPlayerPos(playerid, X, Y, Z);
	    camper = CreateVehicle(483, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, camper, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Camper succesfully created!");
	    return 1;
	}
	if (strcmp("/marquis", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, marquis;
	    GetPlayerPos(playerid, X, Y, Z);
	    marquis = CreateVehicle(484, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, marquis, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Marquis succesfully created!");
	    return 1;
	}
	if (strcmp("/baggage", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, baggage;
	    GetPlayerPos(playerid, X, Y, Z);
	    baggage = CreateVehicle(485, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, baggage, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Baggage succesfully created!");
	    return 1;
	}
	if (strcmp("/dozer", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, dozer;
	    GetPlayerPos(playerid, X, Y, Z);
	    dozer = CreateVehicle(486, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, dozer, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Dozer succesfully created!");
	    return 1;
	}
	if (strcmp("/maverick", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, maverick;
	    GetPlayerPos(playerid, X, Y, Z);
	    maverick = CreateVehicle(487, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, maverick, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Maverick succesfully created!");
	    return 1;
	}
	if (strcmp("/newsmaverick", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, newsmaverick;
	    GetPlayerPos(playerid, X, Y, Z);
	    newsmaverick = CreateVehicle(488, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, newsmaverick, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "News Maverick succesfully created!");
	    return 1;
	}
	if (strcmp("/rancher", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, rancher;
	    GetPlayerPos(playerid, X, Y, Z);
	    rancher = CreateVehicle(489, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, rancher, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Rancher succesfully created!");
	    return 1;
	}
	if (strcmp("/fbirancher", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, fbirancher;
	    GetPlayerPos(playerid, X, Y, Z);
	    fbirancher = CreateVehicle(490, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, fbirancher, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "FBI Rancher succesfully created!");
	    return 1;
	}
	if (strcmp("/virgo", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, virgo;
	    GetPlayerPos(playerid, X, Y, Z);
	    virgo = CreateVehicle(491, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, virgo, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Virgo succesfully created!");
	    return 1;
	}
	if (strcmp("/greenwood", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, greenwood;
	    GetPlayerPos(playerid, X, Y, Z);
	    greenwood = CreateVehicle(492, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, greenwood, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "GreenWood succesfully created!");
	    return 1;
	}
	if (strcmp("/jetmax", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, jetmax;
	    GetPlayerPos(playerid, X, Y, Z);
	    jetmax = CreateVehicle(493, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, jetmax, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Jetmax succesfully created!");
	    return 1;
	}
	if (strcmp("/hotring", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, hotring;
	    GetPlayerPos(playerid, X, Y, Z);
	    hotring = CreateVehicle(494, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, hotring, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Hotring succesfully created!");
	    return 1;
	}
	if (strcmp("/sandking", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, sandking;
	    GetPlayerPos(playerid, X, Y, Z);
	    sandking = CreateVehicle(495, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, sandking, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Sandking succesfully created!");
	    return 1;
	}

	if (strcmp("/stairs", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, stairs;
	    GetPlayerPos(playerid, X, Y, Z);
	    stairs = CreateVehicle(608, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, stairs, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Stairs succesfully created!");
	    return 1;
	}
	if (strcmp("/farmtrailer", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, farmtrailer;
	    GetPlayerPos(playerid, X, Y, Z);
	    farmtrailer = CreateVehicle(610, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, farmtrailer, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Farm Trailer succesfully created!");
	    return 1;
	}
	if (strcmp("/utilitytrailer", cmdtext, true, 10) == 0)
	{
	    new Float:X, Float:Y, Float:Z, utilitytrailer;
	    GetPlayerPos(playerid, X, Y, Z);
	    utilitytrailer = CreateVehicle(606, X, Y, Z, 0.0, -1, -1, -1);
	    PutPlayerInVehicle(playerid, utilitytrailer, 0);
	    SendClientMessage(playerid, 0x33AA33AA, "Utility Trailer succesfully created!");
	    return 1;
	}
	return 0;
}

Vreau ca masina sa ramana langa mine nu sa dispara[sau daca nu ramane langa mine dupa x sec sa bubuie fara sa apara iar] exceptie cele care sunt create cu " CreateVehicle" ca apar dupa 20 de sec la loc.

Gasisem un tutorial,dar le distruge http://www.sa-mp.ro/forum/index.php/topic,4409.0.html

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Astai tot GM-ul tau ? Ca am incercat sa-l compilez  :shocked: si mia dat :

C:\Documents and Settings\andrei\Desktop\test.pwn(118) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(118) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(118) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(127) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(127) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(127) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(136) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(136) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(136) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(145) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(145) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(145) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(154) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(154) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(154) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(163) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(163) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(163) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(172) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(172) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(172) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(181) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(181) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(181) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(190) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(190) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(190) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(199) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(199) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(199) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(208) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(208) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(208) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(217) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(217) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(217) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(226) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(226) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(226) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(235) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(235) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(235) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(244) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(244) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(244) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(253) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(253) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(253) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(262) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(262) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(262) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(271) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(271) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(271) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(280) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(280) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(280) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(289) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(289) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(289) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(298) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(298) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(298) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(307) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(307) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(307) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(316) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(316) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(316) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(325) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(325) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(325) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(334) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(334) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(334) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(343) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(343) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(343) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(352) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(352) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(352) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(361) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(361) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(361) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(370) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(370) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(370) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(379) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(379) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(379) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(388) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(388) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(388) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(397) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(397) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(397) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(406) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(406) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(406) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(415) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(415) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(415) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(424) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(424) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(424) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(433) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(433) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(433) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(442) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(442) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(442) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(451) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(451) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(451) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(460) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(460) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(460) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\andrei\Desktop\test.pwn(468) : warning 209: function "OnPlayerCommandText" should return a value
C:\Documents and Settings\andrei\Desktop\test.pwn(469) : error 010: invalid function or declaration
C:\Documents and Settings\andrei\Desktop\test.pwn(472) : error 021: symbol already defined: "GetPlayerPos"
C:\Documents and Settings\andrei\Desktop\test.pwn(476) : error 010: invalid function or declaration
C:\Documents and Settings\andrei\Desktop\test.pwn(478) : error 010: invalid function or declaration
C:\Documents and Settings\andrei\Desktop\test.pwn(480) : error 021: symbol already defined: "X"
C:\Documents and Settings\andrei\Desktop\test.pwn(481) : error 021: symbol already defined: "GetPlayerPos"
C:\Documents and Settings\andrei\Desktop\test.pwn(485) : error 010: invalid function or declaration
C:\Documents and Settings\andrei\Desktop\test.pwn(487) : error 010: invalid function or declaration
C:\Documents and Settings\andrei\Desktop\test.pwn(489) : error 021: symbol already defined: "X"
C:\Documents and Settings\andrei\Desktop\test.pwn(490) : error 021: symbol already defined: "GetPlayerPos"
C:\Documents and Settings\andrei\Desktop\test.pwn(494) : error 010: invalid function or declaration
C:\Documents and Settings\andrei\Desktop\test.pwn(496) : error 010: invalid function or declaration
C:\Documents and Settings\andrei\Desktop\test.pwn(498) : error 021: symbol already defined: "X"
C:\Documents and Settings\andrei\Desktop\test.pwn(499) : error 021: symbol already defined: "GetPlayerPos"
C:\Documents and Settings\andrei\Desktop\test.pwn(503) : error 010: invalid function or declaration
C:\Documents and Settings\andrei\Desktop\test.pwn(505) : error 010: invalid function or declaration
C:\Documents and Settings\andrei\Desktop\test.pwn(507) : error 021: symbol already defined: "X"
C:\Documents and Settings\andrei\Desktop\test.pwn(508) : error 021: symbol already defined: "GetPlayerPos"
C:\Documents and Settings\andrei\Desktop\test.pwn(512) : error 010: invalid function or declaration
C:\Documents and Settings\andrei\Desktop\test.pwn(514) : error 010: invalid function or declaration
C:\Documents and Settings\andrei\Desktop\test.pwn(516) : error 021: symbol already defined: "X"
C:\Documents and Settings\andrei\Desktop\test.pwn(517) : error 021: symbol already defined: "GetPlayerPos"
C:\Documents and Settings\andrei\Desktop\test.pwn(521) : error 010: invalid function or declaration
C:\Documents and Settings\andrei\Desktop\test.pwn(523) : error 010: invalid function or declaration
C:\Documents and Settings\andrei\Desktop\test.pwn(525) : error 021: symbol already defined: "X"
C:\Documents and Settings\andrei\Desktop\test.pwn(526) : error 021: symbol already defined: "GetPlayerPos"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

hx2mmd.gif
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.