22.07.2013, 03:22
(
Последний раз редактировалось VSxD; 22.07.2013 в 17:14.
)
Tenho que copiar tudo que tem nessa Newstate e coloca na
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)?
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)?
Quote:
if(newstate == PLAYER_STATE_DRIVER) {// 38 / 49 / 56 = SS new newcar = GetPlayerVehicleID(playerid); new oldcar = gLastCar[playerid]; new HouseCar = PlayerInfo[playerid][pPHousekey]+totalveiculos; TelePos[playerid][0] = 0.0; TelePos[playerid][1] = 0.0; new carid=GetVehicleModel(newcar); if(carid == 0 || carid == 0 || carid == 0) { } else { if(IsAAztecasCar(newcar)) { if(!IsAAztecas(playerid)) { SendClientMessage(playerid, COR_AZTECAS, "Vocк nгo й dos Aztecas LS, por isso nгo tem a chave desse veнculo !"); RemovePlayerFromVehicleEx(playerid); } } |