Jump to content
  • 0

o intrebare


rBcollo

Question

Salutari!Cum pot face ca atunci cand un player intra intr-o masina personala NUMAI MASINA PERSONALA sa scrie,ati intrat intr-un %s(numele masini),proprietar: %s,iar cand masina nu este cumparata sa scrie ai intrati intr-un %s,costa %S$,pentru a o cumpara tasteaza /v buy ?

Va rog ajutati-ma

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

rBcollo uita-te cu atentie !

Apasa Ctrl + F si cauta linia public OnPlayerEnterVehicle si adauga :

Prima asta :

[pawn]new vehicle[24];

GetVehicleName(vehicleid, vehicle, sizeof(vehicle));[/pawn]

Si dupa asta :

[pawn]if(IsAnOwnableCar(vehicleid))

{

  format(string,sizeof(string),"Veh (numele la masina) %s (%d)  Owner: {CDE472}%s",vehicle, vehicleid, CarInfo[vehicleid][cOwner]);

SendClientMessage(playerid, COLOR_LIGHTBLUE, string);

}

else if(IsASalesVehicle(vehicleid))

{

    format(string,sizeof(string),"Veh (numele la masina) %s (%d)  Owner: {CDE472}Dealership",vehicle, vehicleid);

SendClientMessage(playerid, COLOR_LIGHTBLUE, string);

format(string,sizeof(string),"Type /v buy to buy this car for $%d",GetVehiclePrice(vehicleid));

SendClientMessage(playerid, COLOR_LIGHTBLUE, string);

}[/pawn]

Edit : rBcollo ce ti-am spus eu tie ? Dam Pm si te ajut !

default.png
Link to comment
Share on other sites

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.