Detaljan opis problema: Pa /makeleader 0 2 i sad sam lider VDMafie i nmg da udjem u svoje vozilo??
Dio skripte:
new VDMVozilo;
VDMVozilo = AddStaticVehicleEx(560,-2494.5000000,-602.7000100,132.3999900,180.0000000,11,46,15); //Sultan
VDMVozilo = AddStaticVehicleEx(560,-2498.2000000,-602.5999800,132.3999900,180.0000000,11,46,15); //Sultan
VDMVozilo = AddStaticVehicleEx(580,-2505.8000000,-602.5000000,132.5000000,180.0000000,11,115,15); //Stafford
VDMVozilo = AddStaticVehicleEx(470,-2531.1001000,-620.2999900,132.7000000,270.0000000,11,10,15); //Patriot
VDMVozilo = AddStaticVehicleEx(470,-2495.5000000,-620.2999900,132.7000000,270.0000000,11,10,15); //Patriot
VDMVozilo = AddStaticVehicleEx(541,-2535.5000000,-603.0999800,132.3000000,180.0000000,11,79,15); //Bullet
VDMVozilo = AddStaticVehicleEx(562,-2531.8000000,-603.0999800,132.3000000,180.0000000,11,52,15); //Elegy
VDMVozilo = AddStaticVehicleEx(562,-2528.0000000,-603.0999800,132.3000000,180.0000000,11,106,15); //Elegy
VDMVozilo = AddStaticVehicleEx(451,-2524.3000000,-602.7999900,132.3000000,180.0000000,11,32,15); //Turismo
VDMVozilo = AddStaticVehicleEx(451,-2520.6001000,-602.9000200,132.3000000,180.0000000,11,68,15); //Turismo
VDMVozilo = AddStaticVehicleEx(429,-2517.0000000,-603.0000000,132.3000000,180.0000000,11,89,15); //Banshee
VDMVozilo = AddStaticVehicleEx(480,-2513.1001000,-603.0000000,132.3999900,180.0000000,11,152,15); //Comet
VDMVozilo = AddStaticVehicleEx(580,-2509.5000000,-602.5000000,132.5000000,180.0000000,11,34,15); //Stafford
VDMVozilo = AddStaticVehicleEx(560,-2502.0000000,-602.5999800,132.3999900,180.0000000,11,98,15); //Sultan
VDMVozilo = AddStaticVehicleEx(409,-2510.0000000,-620.2000100,132.5000000,270.0000000,11,245,15); //Stretch
VDMVozilo = AddStaticVehicleEx(487,-2529.3000000,-635.5000000,148.2000000,272.0000000,11,47,15); //Maverick
VDMVozilo = AddStaticVehicleEx(487,-2530.1001000,-654.7999900,148.2000000,270.0000000,11,169,15); //Maverick
VDMVozilo = AddStaticVehicleEx(487,-2529.8000000,-675.5999800,148.2000000,270.0000000,11,4,15); //Maverick
//
stock VDMVozila(carid) // Ime nase druge vozila
{
for(new i = 0; i < sizeof(VDMVozilo); i++)
{
if(carid == VDMVozilo) return 1;
}
return 0;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
new newcar = GetPlayerVehicleID(playerid);
if(newstate == PLAYER_STATE_DRIVER)
{
if(VDMVozila(newcar))
{
if(!IgracVDM(playerid))
{
new Float:x, Float:y, Float:z;
GameTextForPlayer(playerid, "~w~Zakljucano~n~~g~Niste VDM!!!", 4000, 5);
GetPlayerPos(playerid, x, y, z);
PostaviPoz(playerid, x-2, y, z+1);
SCM(playerid,red,"{B5B5B5}[!{FF0000}BTDM{B5B5B5}]{FFFFFF} Niste clan Vittime Della Mafie!!!");
}
}
if(VDMVozila(newcar))
{
if(!IgracYM(playerid))
{
new Float:x, Float:y, Float:z;
GameTextForPlayer(playerid, "~w~Zakljucano~n~~g~Niste VDM!!!", 4000, 5);
GetPlayerPos(playerid, x, y, z);
PostaviPoz(playerid, x-2, y, z+1);
SCM(playerid,red,"{B5B5B5}[!{FF0000}BTDM{B5B5B5}]{FFFFFF} Niste clan Vittime Della Mafie!!!");
}
}
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
