18.12.2014, 13:13
First, This is the code
This is code is "if player doesn't own the car"
I want a code to add to prevent cars from move.
Please Help !!
PHP код:
else if(strmatch(VehicleSystem[GetCreatorID(vehicleid)][owner],"dealercar"))
{
if(!IsPlayerAdmin(playerid)){
TogglePlayerControllable(playerid,0);}
new fffx[128];
format(fffx,sizeof(fffx),"This Car Is For Sale. Price %d$",VehicleSystem[GetCreatorID(vehicleid)][preis]);
SendClientMessage(playerid,WHITE,fffx);
SendClientMessage(playerid,YELLOW,"INFO: Use /buyveh to Buy it or you exited the car use '/exitcar'.");
}
I want a code to add to prevent cars from move.
Please Help !!