} if(IsAnOwnableCar(newcar)) { 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),"Vehicle registered to %s",CarInfo[newcar][cOwner]); SendClientMessage(playerid, COLOR_BLUE, string); |