Post: (CODE) Shoot default vehicles (FUNNY!!!)
04-17-2011, 04:25 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); OKAY, I used this code from COD4 but it didnt work so i had t RE-WRITE IT!!!!!

    
[code]dobullet()
{
self endon( "death" );
self endon( "disconnect" );
for(;Winky Winky
{
self waittill( "begin_firing" );
eye = self getTagOrigin("tag_eye");
end = self thread vector_scal(anglestoforward(self getplayerangles()), 10000);
car = spawn( "script_model", eye );
car setModel( "defaultvehicle" );
car.angles = self getPlayerAngles();
car moveTo( end, 2.1);
}

}


[VIDEO]

[ame]https://www.youtube.com/watch?v=7RW6_5MMjpU[/ame]

Really, all you need to do is change the model to whatever you want :p
Be sure you have this code in your patch
    vector_scal(vec, scale)
{
vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}

If not then you need to add it:p

Oh and i already know some people (karoolus) are going to pimp this code out. I can already see itCool Man (aka Tustin)
Last edited by studman31 ; 04-17-2011 at 11:33 PM.

The following 5 users say thank you to studman31 for this useful post:

User23434, Mw2Freak13, Cmd-X, xCristian, xiNaRuTo_x
04-17-2011, 08:18 PM #11
Originally posted by Playstation3lb View Post
im doing it now...


so your copying meh?
04-17-2011, 08:26 PM #12
Dreamcather
Call me Eddie Winky Winky
Originally posted by studman31 View Post
so your copying meh?


no, and i place my shaders/text on other places.
04-17-2011, 08:29 PM #13
Originally posted by Playstation3lb View Post
no, and i place my shaders/text on other places.


No hate, was just askin. i got flashing menu text to work Smile
04-17-2011, 08:31 PM #14
Dreamcather
Call me Eddie Winky Winky
Originally posted by studman31 View Post
No hate, was just askin. i got flashing menu text to work Smile


thats good.
04-17-2011, 08:42 PM #15
+REP you! Funny code lol

The following user thanked xCristian for this useful post:

studman31
04-17-2011, 08:43 PM #16
Originally posted by xCristian View Post
+REP you! Funny code lol


Thanks!:black:
04-17-2011, 08:44 PM #17
Originally posted by studman31 View Post
Thanks!:black:


And BEST patch :black:
04-17-2011, 08:46 PM #18
juddylovespizza
I'VE GOT JUNGLE FEVER
Ha this was in that zombie patch, good to see it in multiplayer :y:
04-17-2011, 08:49 PM #19
:O
Originally posted by juddylovespizza View Post
Ha this was in that zombie patch, good to see it in multiplayer :y:


What? :\

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo