Detaljan opis problema: pa ovako ubacio sam vozila u mod i napravio ono Vozilo zakljucano i mene moj frend ubaci u gsf i ja da cu uc u vozilo pise mi vozilo zakljucano! GSF!
Dio skripte:
new GSF;/ GSF vozila
GSF = AddStaticVehicleEx(413,2481.7952,-1694.9374,13.6141,353.1185,187,187,200); // GSF 1
GSF = AddStaticVehicleEx(567,2473.1648,-1696.5018,13.3845,0.4726,187,187,200); // GSF 2
GSF = AddStaticVehicleEx(575,2482.4688,-1653.4240,12.9901,90.8464,187,187,200); // GSF 3
GSF = AddStaticVehicleEx(567,2504.3521,-1651.6290,13.4851,112.0193,187,187,200); // GSF 4
GSF = AddStaticVehicleEx(567,2507.0757,-1677.9285,13.3288,143.5535,187,187,200); // GSF 5
GSF = AddStaticVehicleEx(492,2505.6189,-1694.4221,13.3388,359.7518,187,187,200); // GSF 6
GSF = AddStaticVehicleEx(492,2496.1394,-1649.7765,13.3036,201.2806,187,187,200); // GSF 7
GSF = AddStaticVehicleEx(468,2496.8984,-1686.7317,13.1650,25.4194,187,187,200); // GSF 8
GSF = AddStaticVehicleEx(468,2499.0752,-1686.5042,13.1480,20.9974,187,187,200); // GSF 9
GSF = AddStaticVehicleEx(468,2517.9717,-1672.7374,13.8475,58.9449,187,187,200); // GSF 10
GSF = AddStaticVehicleEx(481,2486.8052,-1686.3171,13.0291,25.6009,187,187,200); // GSF 11
GSF = AddStaticVehicleEx(481,2488.8040,-1686.3324,13.0272,20.9528,187,187,200); // GSF 12Ä‘
for(new i = 0; i < sizeof(GSF); i++)
{
vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "", 0x04B0FBC8, 0.0, 0.0, 0.0, 20.0, 0, 1 );
Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , GSF, 0.0, 0.0, 0.0);
}new Float:Poz;
GetPlayerPos(playerid, Poz, Poz, Poz);
if(vehicleid >= PD && vehicleid <= PD)
{
if(PI != 1 || PI != 1)
{
SetPlayerPos_H(playerid, Poz, Poz+1.5, Poz+0.5);
GameTextForPlayer(playerid, "~r~Vozilo zakljucano! ~b~PD", 5000, 5);
}
}
else if(vehicleid >= C11 && vehicleid <= C11)
{
if(PI != 2 || PI != 2)
{
SetPlayerPos_H(playerid, Poz, Poz+1.5, Poz+0.5);
GameTextForPlayer(playerid, "~r~Vozilo zakljucano! ~b~C11", 5000, 5);
}
}
else if(vehicleid >= FDSA && vehicleid <= FDSA)
{
if(PI != 3 || PI != 3)
{
SetPlayerPos_H(playerid, Poz, Poz+1.5, Poz+0.5);
GameTextForPlayer(playerid, "~r~Vozilo zakljucano! ~b~FDSA", 5000, 5);
}
}
else if(vehicleid >= MD && vehicleid <= MD)
{
if(PI != 4 || PI != 4)
{
SetPlayerPos_H(playerid, Poz, Poz+1.5, Poz+0.5);
GameTextForPlayer(playerid, "~r~Vozilo zakljucano! ~r~~h~~h~MD", 5000, 5);
}
}
else if(vehicleid >= SCF && vehicleid <= SCF)
{
if(PI != 5 || PI != 5)
{
SetPlayerPos_H(playerid, Poz, Poz+1.5, Poz+0.5);
GameTextForPlayer(playerid, "~r~Vozilo zakljucano! ~r~~h~SCF", 5000, 5);
}
}
else if(vehicleid >= WTM && vehicleid <= WTM)
{
if(PI != 6 || PI != 6)
{
SetPlayerPos_H(playerid, Poz, Poz+1.5, Poz+0.5);
GameTextForPlayer(playerid, "~r~Vozilo zakljucano! ~l~WTM", 5000, 5);
}
}
else if(vehicleid >= Mayor && vehicleid <= Mayor)
{
if(PI != 7 || PI != 7)
{
SetPlayerPos_H(playerid, Poz, Poz+1.5, Poz+0.5);
GameTextForPlayer(playerid, "~r~Vozilo zakljucano! ~L~MAYOR", 5000, 5);
}
}
else if(vehicleid >= HA && vehicleid <= HA)
{
if(PI != 8 || PI != 8)
{
SetPlayerPos_H(playerid, Poz, Poz+1.5, Poz+0.5);
GameTextForPlayer(playerid, "~r~Vozilo zakljucano! ~L~HA", 5000, 5);
}
}
else if(vehicleid >= RNL && vehicleid <= RNL)
{
if(PI != 9 || PI != 9)
{
SetPlayerPos_H(playerid, Poz, Poz+1.5, Poz+0.5);
GameTextForPlayer(playerid, "~r~Vozilo zakljucano! ~Y~Radio SoC", 5000, 5);
}
}
else if(vehicleid >= TU && vehicleid <= TU)
{
if(PI != 10 || PI != 10)
{
SetPlayerPos_H(playerid, Poz, Poz+1.5, Poz+0.5);
GameTextForPlayer(playerid, "~r~Vozilo zakljucano! ~Y~~H~Sons Of Anarchy", 5000, 5);
}
}
else if(vehicleid >= GSF && vehicleid <= GSF)
{
if(PI != 11 || PI != 11)
{
SetPlayerPos_H(playerid, Poz, Poz+1.5, Poz+0.5);
GameTextForPlayer(playerid, "~r~Vozilo zakljucano! ~G~GSF", 5000, 5);
}
}
else if(vehicleid >= LSB && vehicleid <= LSB)
{
if(PI != 12 || PI != 12)
{
SetPlayerPos_H(playerid, Poz, Poz+1.5, Poz+0.5);
GameTextForPlayer(playerid, "~r~Vozilo zakljucano! ~b~~H~LSB", 5000, 5);
}
}
else if(vehicleid >= UGR && vehicleid <= UGR)
{
if(PI != 13 || PI != 13)
{
SetPlayerPos_H(playerid, Poz, Poz+1.5, Poz+0.5);
GameTextForPlayer(playerid, "~r~Vozilo zakljucano! ~R~UGR", 5000, 5);
}
}
else if(vehicleid >= BMC && vehicleid <= BMC)
{
if(PI != 14 || PI != 14)
{
SetPlayerPos_H(playerid, Poz, Poz+1.5, Poz+0.5);
GameTextForPlayer(playerid, "~r~Vozilo zakljucano! ~R~BMC", 5000, 5);
}
}
else if(vehicleid >= ICF && vehicleid <= ICF)
{
if(PI != 15 || PI != 15)
{
SetPlayerPos_H(playerid, Poz, Poz+1.5, Poz+0.5);
GameTextForPlayer(playerid, "~r~Vozilo zakljucano! ~R~ICF", 5000, 5);
}
}
}
return 1;
}Neke slike/video za lakse dobivanje pomoci(neobavezno):
