Jump to content
  • 0

Question

Posted

[pawn]    if(CarInfo[newcar][cOwned]==0)

    {

          TogglePlayerControllable(playerid, 0);

        format(string,sizeof(string),"~w~Vehicle: %s~n~Price: ~g~%d~n~~w~/v buy to buy this vehicle~n~~r~/exit ~w~to exit this vehicle",CarInfo[newcar][cDescription],CarInfo[newcar][cValue]);

GameTextForPlayer(playerid,string,5000,5);

    }

    if(CarInfo[newcar][cOwned]>=1)

    {

        format(string,sizeof(string), "{FFFFFF} Acest vehicul este detinut de: {4678B3} %s",CarInfo[newcar][cOwner]);

SendClientMessage(playerid, COLOR_BLUE, string);

format(string,sizeof(string),"Type: /carhelp to see the commands.");

SendClientMessage(playerid, COLOR_WHITE, string);

if(PlayerInfo[playerid][pPcarkey] == vehicle) { }

else if(PlayerInfo[playerid][pPcarkey2] == vehicle) { }

else

{

    if(PlayerInfo[playerid][pAdmin] >= 5 && AdminDuty[playerid] == 1)

{

    SendClientMessage(playerid, COLOR_GREY, "  You can drive this car because you are admin on duty !");

}

    else

    {

    RemovePlayerFromVehicle(playerid);

    SendClientMessage(playerid, COLOR_GREY, "{9B9D9E} Nu deti setul de chei pentru aceasta masina.");

}

}

    }

}[/pawn]

cum pot pune aici cand masina este cumparata sa scrie cu text 3D Proprietar: %s si cand e de vanzare sa scrie Masina de vanzare ....plz daca stie cnva

2 answers to this question

Recommended Posts

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.