[Ajuda] Bug - Carros Somem de Repente !
#5

Nгo sei ...

Quote:

sCar[MAX_PLAYERS],

Alguma coisa aqui ?

PHP код:
stock CriarVeiculo(playeridmodelidFloat:posXFloat:posYFloat:posZFloat:angleColour1Colour2respawn_delay)
{
    new 
world GetPlayerVirtualWorld(playerid);
    new 
interior GetPlayerInterior(playerid);
    if(
GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
        if(
sCar[playerid]) DestroyVehicle(sCar[playerid]);
        
GetPlayerPos(playeridposXposYposZ);
        
GetPlayerFacingAngle(playeridangle);
        
sCar[playerid] = CreateVehicle(modelidposXposYposZangleColour1Colour2respawn_delay);
        
LinkVehicleToInterior(sCar[playerid], interior);
        
SetVehicleVirtualWorld(sCar[playerid], world);
        
SetVehicleZAngle(sCar[playerid], angle);
        
PutPlayerInVehicle(playeridsCar[playerid], 0);
        
SetPlayerInterior(playeridinterior);
    } 
Reply


Messages In This Thread
Bug - Carros Somem de Repente ! - by Nenzittow - 21.07.2014, 14:49
Re: Bug - Carros Somem de Repente ! - by n0minal - 21.07.2014, 15:15
Re: Bug - Carros Somem de Repente ! - by Nenzittow - 21.07.2014, 15:22
Re: Bug - Carros Somem de Repente ! - by n0minal - 21.07.2014, 15:45
Re: Bug - Carros Somem de Repente ! - by Nenzittow - 21.07.2014, 15:52
Re: Bug - Carros Somem de Repente ! - by n0minal - 21.07.2014, 15:57
Re: Bug - Carros Somem de Repente ! - by Nenzittow - 21.07.2014, 16:01
Re: Bug - Carros Somem de Repente ! - by n0minal - 21.07.2014, 16:04
Re: Bug - Carros Somem de Repente ! - by Nenzittow - 21.07.2014, 16:14
Re: Bug - Carros Somem de Repente ! - by Nenzittow - 22.07.2014, 12:46

Forum Jump:


Users browsing this thread: 3 Guest(s)