[Ajuda] Erro com Comando
#2

PHP код:
GiveVehicle(playeridvehicleidcolor1color2)
{
    if(!
IsPlayerInAnyVehicle(playerid))
    {
        if(
CreatedVehicle[playerid]) {
        
            
DestroyVehicle(CreatedVehicle[playerid]);
            
CreatedVehicle[playerid] = 0;
        }

        new 
Float:xFloat:yFloat:zFloat:anglestring2[85];
        
GetPlayerPos(playeridxyz);
        
GetPlayerFacingAngle(playeridangle);

        
CreatedVehicle[playerid] = CreateVehicle(vehicleidxyzanglecolor1color2, -1);

        
SetVehicleVirtualWorld(CreatedVehicle[playerid], GetPlayerVirtualWorld(playerid));
        
LinkVehicleToInterior(CreatedVehicle[playerid], GetPlayerInterior(playerid));
        
PutPlayerInVehicle(playeridCreatedVehicle[playerid], 0);

        
format(string2,sizeof(string2),"{FF0000}INFO SERVE{FFFFFF}Vocк criou o veнculo %s ID: %d"VehicleNames[vehicleid-400],vehicleid);
        
SendClientMessage(playerid, -1string2);
        return 
1;
    }
    return 
0;

Reply


Messages In This Thread
Erro com Comando - by VinnyScript - 16.01.2016, 12:49
Re: Erro com Comando - by Coringa_Vilao - 16.01.2016, 13:33
Re: Erro com Comando - by VinnyScript - 16.01.2016, 13:40
Re: Erro com Comando - by ipsLuan - 16.01.2016, 13:56
Re: Erro com Comando - by VinnyScript - 16.01.2016, 16:00
Re: Erro com Comando - by iSoaD - 16.01.2016, 18:12
Re: Erro com Comando - by HaRdiiZin - 16.01.2016, 18:57

Forum Jump:


Users browsing this thread: 1 Guest(s)