Anyone have an idea ?
#1

Quote:

if(IsAnOwnableCar(newcar))
{
if(CarInfo[newcar][cOwned]==0)
{
TogglePlayerControllable(playerid, 0);
format(string,sizeof(string),"~w~Vehicle: %s~n~Price: ~g~%d~n~~w~/buycar 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 by %s",CarInfo[newcar][cOwner]);
SendClientMessage(playerid, COLOR_WHITE, string);

Quote:

public IsAnOwnableCar(vehicleid)
{
if(vehicleid >= 184 && vehicleid <= 387) { return 1; }
return 0;
}

The text shows only at the first 90 vehicles on other ownable vehicles it dont shows anyone have an idea ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)