Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted

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

4 answers to this question

Recommended Posts

Posted

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