help me
#1

what the worng with this its not work in game they can enter my car like what they want


Код:
new string[256];
    new name[256];
	new playerName[24];
	GetPlayerName(playerid, playerName, 24);
	GetPlayerName(BoughtCarsOwner[GetPlayerVehicleID(playerid)], name, 256);
    if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER && BoughtCars[GetPlayerVehicleID(playerid)] == 999 && playerName[playerid] != name[playerid] && PlayerAdminLevel[playerid] < 1) {
	SendClientMessage(playerid,COLOR_YELLOW,"This car has been purchased from Grotti Car Showerroom. You are not the owner.");
	GetPlayerName(BoughtCarsOwner[GetPlayerVehicleID(playerid)], name,sizeof(name));
	format(string, sizeof(string), "This vehicle is registered to: %s",name);
	SendClientMessage(playerid, COLOR_YELLOW, string);
	RemovePlayerFromVehicle(playerid);
	return 1;
}
Reply
#2

help me please its for buy cars its not work they can enter my car help!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)