Jump to content
  • 0

Cum pot pune masini personale fara filterscripturi ?


Question

3 answers to this question

Recommended Posts

Posted

Simplu!

In primul rand creezi o noua linie care contine:

New Vehicul Privat

apoi te duci la AddStaticVehicle si adaugi :

VehiculPrivat = AddStaticVehicle(model,coordonate x,y,z,culoare 1,culoare2);

apoi adaugi dupa toate aceste linia :

if(vehicleid == VehiculPrivat && !ispassenger)

{

new sendername[MAX_PLAYER_NAME];

GetPlayerName(playerid, sendername, sizeof(sendername));

if(strcmp(sendername,"VehiculPrivat",true))

{

new Float:cx, Float:cy, Float:cz;

GetPlayerPos(playerid, cx, cy, cz);

SetPlayerPos(playerid, cx,  cy, cz);

SendClientMessage(playerid,COLOR_GREY," Vehicul privat al jucatorului {FFFFFF}VehiculPrivat !");

RemovePlayerFromVehicle(playerid);

}

}

Posted

in loc de New vehicul Privat pui un ex gen :

New NRGAlex

New NRGVlad

si adaugi

NRGAlex = Addstatic etc

NRGVlad = AddStatic etc

si acolo if vehicleid == schimbi numele in numele playerului nu pui NRGAlex decat daca asta e numele lui.

NRGAlex este NRG-ul jucatorului AlexXD sa zicem . acolo la if vehicleid == AlexXD ai inteles?

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.