Ulaz u enterijer.

Započeo k0cevv, Decembar 18, 2022, 22:04:26 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Hocu ubaciti drugi pickup i ulazak u enterijer ali neznam gde krenuti jer gamemode vec ima druge ulaze,help hitno mi je neznam ni da li mi je formular tacan.




public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{

        if(newkeys & KEY_SECONDARY_ATTACK)
{
    if(IsPlayerInRangeOfPoint(playerid, 3.0, 1481.1208,-1771.8009,18.7958))
    {
        SetPlayerInterior(playerid, 3);
        SetPlayerPos(playerid, 384.808624,173.804992,1008.382812);
        SetPlayerFacingAngle(playerid, 90);
        SetCameraBehindPlayer(playerid);
    }
    if(IsPlayerInRangeOfPoint(playerid, 3.0, 384.808624,173.804992,1008.382812))
    {
        SetPlayerInterior(playerid, 0);
        SetPlayerPos(playerid, 1481.1208,-1771.8009,18.7958);
        SetPlayerFacingAngle(playerid, 0);
        SetCameraBehindPlayer(playerid);
    }
}
    if(newkeys & KEY_LOOK_BEHIND)
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        new vehid = GetPlayerVehicleID(playerid);
            VehInfo[vehid][vEngine] = 1;
            SetVehicleParamsEx(vehid, 1, VehInfo[vehid][vEngine], VehInfo[vehid][vLights], VehInfo[vehid][vAlarm], VehInfo[vehid][vDoor], VehInfo[vehid][vBonnet], VehInfo[vehid][vObj]);
    }
}
    {
    }
return 1;
}
[code]

Citatneznam ni da li mi je formular tacan.
Gde ti vidiš formular?




Ako nisi uspio napraviti javi se u privatnoj poruci.
Map Gallery
-House Interior- (click) - For Sale-