[Ajuda] Que se passa com isto
#6

ae tem

pawn Код:
if(strcmp(cmd, "/apagartodososcarros", true) == 0)
{
    if(PlayerInfo[playerid][Dono] == 4)
    {
        new i,
            Float:distance = 6.0,
            Float:metres = distance,
            Float:a;
       
        for(; i < sizeof(DynamicCars); i++, metres += distance)
        {
            GetPlayerPos(playerid, DynamicCars[i][CarX], DynamicCars[i][CarY], DynamicCars[i][CarZ]);
            GetPlayerFacingAngle(playerid, a);
            DynamicCars[i][CarColor1] = 1;
            DynamicCars[i][CarColor2] = 1;
            DynamicCars[i][CarAngle] = a;
            DynamicCars[i][CarModel] = 400;
            DynamicCars[i][CarX] += (metres * floatsin(-a, degrees));
            DynamicCars[i][CarY] += (metres * floatcos(-a, degrees));
            DynamicCars[i][Neon] = 0;
            Fuel[i] = 100;
            EngineStatus[i] = 0;
            CarWindowStatus[i] = 1; //1 = up, 0 = down.
        }
        SaveCars();
    }
    else return SendClientMessage(playerid, COLOR_RED, "Isso querias tu filho");
    return 1;
}
Reply


Messages In This Thread
Que se passa com isto - by caoraivoso3 - 08.08.2013, 20:47
Re: Que se passa com isto - by Don_Speed - 08.08.2013, 20:55
Re: Que se passa com isto - by caoraivoso3 - 08.08.2013, 20:57
Re: Que se passa com isto - by Don_Speed - 08.08.2013, 21:09
Re: Que se passa com isto - by caoraivoso3 - 08.08.2013, 21:28
Re: Que se passa com isto - by PT - 09.08.2013, 01:35

Forum Jump:


Users browsing this thread: 1 Guest(s)