[Ajuda] mala
#1

nao da para meter tipo /abrirmala e a mala do carro abrir ??
Reply
#2

Claro que dб lol .-.
Tem um FS aki no forum SAMP
Que abre o Capф , as portas , a mala e tals.
Procura ai
Usa o Search ele num ta ali de enfeite с
Reply
#3

Nгo como objeto.
Mais sim pra adicionar armas,colete etc...
Reply
#4

Aqui no forum SAMP tem um cara que posto um FS do 0.3c que abria portamalas u.u
Reply
#5

Eh o FS VControl
Usa o Search ele num ta ali de enfeite с І

Jб que nгo tenho nada a fazer, fiquei procurando codes para responder e acabei achando isto:
pawn Код:
//Topo GM
new motor[MAX_PLAYERS], luz[MAX_PLAYERS], alarme[MAX_PLAYERS], portas[MAX_PLAYERS],
capo[MAX_PLAYERS], portamalas[MAX_PLAYERS], objetivo[MAX_PLAYERS];
//Gamemod init
    ManualVehicleEngineAndLights();
// CMD Text
    if (strcmp("/portamalas", cmdtext, true, 10) == 0)
    {
        new mot, lu, alar, por, cap, porma, ob;
        new carro = GetPlayerVehicleID(playerid);
        if(carro != INVALID_VEHICLE_ID)
            {
                if(portamalas[playerid] == 0)
                {
                    GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
                    SetVehicleParamsEx(carro, mot, lu, alar, por, cap, VEHICLE_PARAMS_ON, ob);
                    portamalas[playerid] = 1;
                    SendClientMessage(playerid, 0xFFFFFFAA, "Portamalas {2F991A}Aberto!");
                }
            }
        return 1;
    }
    if (strcmp("/fportamalas", cmdtext, true, 10) == 0)
    {
        new mot, lu, alar, por, cap, porma, ob;
        new carro = GetPlayerVehicleID(playerid);
        if(carro != INVALID_VEHICLE_ID)
            {
                if(portamalas[playerid] == 1)
                {
                    GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
                    SetVehicleParamsEx(carro, mot, lu, alar, por, cap, VEHICLE_PARAMS_OFF, ob);
                    portamalas[playerid] = 0;
                    SendClientMessage(playerid, 0xFFFFFFAA, "Portamalas {E31919}Fechado!");
                }
            }
        return 1;
    }
Reply
#6

obrigado, agradeзo mesmo
Reply
#7

da vvaring e nao da pa abrir a mala

Quote:

C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\gamemodes\RPGTUGA.pwn(44444) : warning 203: symbol is never used: "alarme"
C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\gamemodes\RPGTUGA.pwn(44444) : warning 203: symbol is never used: "capo"
C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\gamemodes\RPGTUGA.pwn(44444) : warning 203: symbol is never used: "luz"
C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\gamemodes\RPGTUGA.pwn(44444) : warning 203: symbol is never used: "motor"
C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\gamemodes\RPGTUGA.pwn(44444) : warning 203: symbol is never used: "objetivo"
C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\gamemodes\RPGTUGA.pwn(44444) : warning 203: symbol is never used: "portas"

Reply
#8

Apague estas linhas ai
Reply
#9

tipo so tenho ate a linha 44443 e aparece me 44444 loool
Reply
#10

No Topo do GM tem isso:
pawn Код:
new motor[MAX_PLAYERS], luz[MAX_PLAYERS], alarme[MAX_PLAYERS], portas[MAX_PLAYERS],
capo[MAX_PLAYERS], portamalas[MAX_PLAYERS], objetivo[MAX_PLAYERS];
Vб lб e apague !!
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)