Player is inside of a car, but at the same time he isn't
#2

Код:
new mode = playerMode[playerid]; 

    switch(mode) 
    { 
        case GAMEMODE_DM: 
        { 
            new newVehicle = CreateVehicle(411, modeState[playersMode][spawnX], modeState[playersMode][spawnY], modeState[playersMode][spawnZ], modeState[mode][spawnRotation], -1, -1, -1); 
            SetVehicleVirtualWorld(newVehicle, GetPlayerVirtualWorld(playerid)); 
            PutPlayerInVehicle(playerid, newVehicle, 0); 
        } 
        //... 
    }
try putting it inside OnPlayerSpawn
Reply


Messages In This Thread
Player is inside of a car, but at the same time he isn't - by BiosMarcel - 25.12.2016, 18:37
Re: Player is inside of a car, but at the same time he isn't - by xTURBOx - 26.12.2016, 06:02
Re: Player is inside of a car, but at the same time he isn't - by BiosMarcel - 26.12.2016, 11:24

Forum Jump:


Users browsing this thread: 1 Guest(s)