Jump to content

Question

Posted

Am si pe server un bug la masinile personale si ma chinui de cateva zile sal rezolv si nu pot va rog ajutatima

Bugu consta in daca eu am o masina personala poate sa meraga orcine cu ia

Asta e linie cand iti zice cui apartine masina personala

[pawn]

                if(newcar>PreVehicle)

{

if(CarData[newcar - PreVehicle][cOwned] == 0 && CarData[newcar - PreVehicle][cModel] >= 400 && CarData[newcar - PreVehicle][cModel] <= 611 && PreVehicle < newcar)

{

format(string,sizeof(string),"~w~Vehicul: %s~n~Pret: ~g~%d~n~~w~/v buy pentru a cumpara sau apasa~n~~r~ENTER ~w~ca sa cobori",CarData[newcar- PreVehicle][cDescription],CarData[newcar- PreVehicle][cValue]);

GameTextForPlayer(playerid,string,5000,5);

}

if(CarData[newcar - PreVehicle][cOwned] == 1 && CarData[newcar - PreVehicle][cModel] >= 400 && CarData[newcar - PreVehicle][cModel] <= 611 && PreVehicle < newcar)

{

format(string, sizeof(string), "^^{FFFFFF}Acest vehicul: {A5FF23} [%s,TD: %d] {FFFFFF}apartine lui:{FE6235} %s.", ArIsim[GetVehicleModel(GetPlayerVehicleID(playerid))-500],CarData[newcar- PreVehicle][cExploded],CarData[newcar- PreVehicle][cOwner]);

SendClientMessage(playerid, COLOR_BLUE, string);

}

}[/pawn]

1 answer to this question

Recommended Posts

Posted

Modifica :

[pawn]if(CarData[newcar - PreVehicle][cOwned] == 1 && CarData[newcar - PreVehicle][cModel] >= 400 && CarData[newcar - PreVehicle][cModel] <= 611 && PreVehicle < newcar)

{

format(string, sizeof(string), "^^{FFFFFF}Acest vehicul: {A5FF23} [%s,TD: %d] {FFFFFF}apartine lui:{FE6235} %s.", ArIsim[GetVehicleModel(GetPlayerVehicleID(playerid))-500],CarData[newcar- PreVehicle][cExploded],CarData[newcar- PreVehicle][cOwner]);

SendClientMessage(playerid, COLOR_BLUE, string);

}[/pawn]

Cu:

[pawn]if(CarData[newcar - PreVehicle][cOwned] == 1 && CarData[newcar - PreVehicle][cModel] >= 400 && CarData[newcar - PreVehicle][cModel] <= 611 && PreVehicle < newcar)

{

format(string, sizeof(string), "^^{FFFFFF}Acest vehicul: {A5FF23} [%s,TD: %d] {FFFFFF}apartine lui:{FE6235} %s.", ArIsim[GetVehicleModel(GetPlayerVehicleID(playerid))-500],CarData[newcar- PreVehicle][cExploded],CarData[newcar- PreVehicle][cOwner]);

SendClientMessage(playerid, COLOR_BLUE, string);

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

                                if(strcmp(sendername, CarInfo[newcar - PreVehicle][cOwner], true) == 0)

                                {

                                }

                                else {

                                    RemovePlayerFromVehicle(playerid); return 1;}

}[/pawn]

Sper sa iti fie de folos.

rpg.reality-gaming.ro

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.