[Include] [0.3c] Vehicle Missiles
#21

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

Freaking cool! Keep it on!
Reply
#23

That's awesome!

But I also developed a similar script. :P
Reply
#24

I LOVE IT! :P

5/5
Reply
#25

Awesome Script
Reply
#26

Nice dude.
Reply
#27

Awesome.
Reply
#28

Holly shiiiiiit good job!
i will use it !
Damn great !
Reply
#29

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;
    }
Reply
#30

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
Reply
#31

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
Reply
#32

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.
Reply
#33

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

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.
Reply
#35

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.
Reply
#36

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

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

Nice!
Reply
#39

How can i make the missles go longer?
Reply
#40

This droped me few ideas!

Great job and cool idea! Keep it up!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)