[Ajuda] Que se passa com isto
#1

pawn Код:
if(strcmp(cmd, "/apagartodososcarros", true) == 0)
        {
            if(PlayerInfo[playerid][Dono] == 4)
            return SendClientMessage(playerid, COLOR_RED, "Isso querias tu");
            new i,
                Float:distance = 6.0,
                Float:metres = distance;
            for(; i < sizeof(DynamicCars); i++, metres += distance)
            {
                GetPlayerPos(playerid, DynamicCars[i][CarX], DynamicCars[i][CarY], DynamicCars[i][CarZ]);
                new Float:a;
                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();
            return 1;
        }
Bem,eu sou dono nivel 4,mas eu nгo consigo apagar os carros,eu jб tentei meter
pawn Код:
if(PlayerInfo[playerid][Dono] != 4)
mas quando faзo o comando,apareзe a mensagem "SERVER:Unknow Command"
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)