!
, , , , /v buy, , .
PHP :
if(CarInfo[newcar][cOwned]==0)
       {
           
TogglePlayerControllable(playerid0);
           
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);
       } 
:
PHP :
if(!strcmp(CarInfo[newcar][cOwner],"Dealership",true) )
{
           
TogglePlayerControllable(playerid0);
           
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);
       } 
public OnPlayerStateChange(playerid, newstate, oldstate) , if(newstate == PLAYER_STATE_DRIVER)
, .