SA-MP Forums Archive
[Include] [0.3c] Vehicle Missiles - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [0.3c] Vehicle Missiles (/showthread.php?tid=229111)

Pages: 1 2 3


Re: [0.3c] Vehicle Missiles - felipewireless - 22.02.2011

como que faz pra criar o comando de adicionar e remover o missel ?


Re: [0.3c] Vehicle Missiles - GNGification - 22.02.2011

Freaking cool! Keep it on!


Re: [0.3c] Vehicle Missiles - DChernenkov - 22.02.2011

That's awesome!

But I also developed a similar script. :P


Re: [0.3c] Vehicle Missiles - MrDeath537 - 22.02.2011

I LOVE IT! :P

5/5


Re: [0.3c] Vehicle Missiles - SamyRomafia - 19.04.2011

Awesome Script


Re: [0.3c] Vehicle Missiles - GabryIIPazzo2 - 19.04.2011

Nice dude.


Re: [0.3c] Vehicle Missiles - CraZy_KiLLaH - 19.04.2011

Awesome.


Re : [0.3c] Vehicle Missiles - Vukilore - 19.04.2011

Holly shiiiiiit good job!
i will use it !
Damn great !


Respuesta: [0.3c] Vehicle Missiles - Nicolas_Castillo - 19.04.2011

Good Job

pawn Code:
if(strcmp(cmd, "/Misil", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            tmp = strtok(cmdtext, idx);
            new vehicleid = strval(tmp);
            tmp = strtok(cmdtext, idx);
            new OffX = strval(tmp);
            tmp = strtok(cmdtext, idx);
            new Offz = strval(tmp);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, COLOR_WHITE, "[USA]: /Misil [AutoId] [offsetx] [offsetz]");
                return 1;
            }
            RemoveVehicleMissiles(vehicleid);
            AddVehicleMissiles(vehicleid,OffX,Offz);
            SendClientMessage(playerid, COLOR_WHITE, "Misiles agregados correctamente");
        }
        return 1;
    }



Re: [0.3c] Vehicle Missiles - AlexXx95 - 20.04.2011

I did all the steps. After i complied the gamemode. So far so good. Nor errors or warnings.
But the question is how to make i work in game xD.
Some help please?:P


Re: [0.3c] Vehicle Missiles - Marshall32 - 16.09.2011

Nice made man but give us some of your usages of this Include.Also fix this please.
Код:
C:\Users\Korisnik\Desktop\My DropBox\Dropbox\serverfiles\Sfcnr\gamemodes\SFCRRPG_FIX.pwn(3656) : warning 202: number of arguments does not match definition
C:\Users\Korisnik\Desktop\My DropBox\Dropbox\serverfiles\Sfcnr\gamemodes\SFCRRPG_FIX.pwn(3656) : warning 202: number of arguments does not match definition



Re: [0.3c] Vehicle Missiles - Marshall32 - 23.09.2011

Lol man please fix it it dont work by me i compile and all load it and everything add the missiles but the missiles dont show :P.


AW: [0.3c] Vehicle Missiles - Pablo Borsellino - 26.09.2011

Line 55 in the Include should be:
pawn Код:
if(IsValidObject(VehicleBomb[vehicleid][1]))
and not:
pawn Код:
if(VehicleBomb[IsValidObject(vehicleid][1]))



Re: AW: [0.3c] Vehicle Missiles - Backwardsman97 - 26.09.2011

Quote:
Originally Posted by Pablo Borsellino
Посмотреть сообщение
Line 55 in the Include should be:
pawn Код:
if(IsValidObject(VehicleBomb[vehicleid][1]))
and not:
pawn Код:
if(VehicleBomb[IsValidObject(vehicleid][1]))
Thanks for pointing that out. I must've done that when I last updated by mistake. Anyway, I've updated the first post with a correct version and put up an example script.


AW: [0.3c] Vehicle Missiles - Pablo Borsellino - 26.09.2011

Nice, but now there is again a mistake in the example Script:
warning 202: number of arguments does not match definition

Include:
pawn Код:
AddVehicleMissiles(vehicleid,Float:offsetx,Float:offsetz)
Example Script:
pawn Код:
AddVehicleMissiles(Vehicle,1.1,0.0,-0.2);
One Float in the args to much.



Re: [0.3c] Vehicle Missiles - Geryy - 27.09.2011

Necessary also get speed vehicle, because if speed vehicle > rocket - it explosion yours car.


Re: [0.3c] Vehicle Missiles - tonislav - 30.10.2011

error
where is that fucked file
: fatal error 100: cannot read from file: "VM"


Re: [0.3c] Vehicle Missiles - Epic_Mickey - 30.10.2011

Nice!


Re: [0.3c] Vehicle Missiles - Aira - 06.11.2011

How can i make the missles go longer?


Re: [0.3c] Vehicle Missiles - Kasis - 07.11.2011

This droped me few ideas!

Great job and cool idea! Keep it up!