Post: [Code] Get distance from what you are looking at.
04-04-2012, 10:26 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); This is basically all DaftVader/Karoolous work. They did the get model of what you are looking at. This just gave me an idea :p

Don't know what it would be used for but w/e. :p

    
getDistance()
{
self notifyOnPlayerCommand("d", "+actionslot 1");
for(;Winky Winky
{
self waittill("d");
trace = bullettrace(self gettagorigin("j_head"),self gettagorigin("j_head")+anglestoforward(self getplayerangles())*1000000,true,self)["position"];
self iPrintlnBold("You are "+distance2d(self.origin,trace)+" feet away from where you are looking!");
}
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following user groaned Jakes625 for this awful post:

247Yamato
04-04-2012, 11:23 AM #2
247Yamato
< ^ > < ^ >
I see many errors there. You should try the codes before releasing.

The following user thanked 247Yamato for this useful post:

zxz0O0

The following user groaned 247Yamato for this awful post:

04-04-2012, 03:26 PM #3
Choco
Respect my authoritah!!
ActionSlotOneButtonPressed() is a black ops function D=
04-04-2012, 06:44 PM #4
Blackstorm
Veni. Vidi. Vici.
copypasta?
04-04-2012, 07:07 PM #5
247Yamato
< ^ > < ^ >
Originally posted by Blackstorm View Post
copypasta?


Seems so, and wrong.... /facepalm
04-04-2012, 07:08 PM #6
Originally posted by 247Yamato View Post
I see many errors there. You should try the codes before releasing.


Holy shit yamato get off my ass.

Im sorry you are fucking asain and are 999 times smarter than everyone else, but get off our ass...

There isnt an error unless actionslotonebuttonpressed doesnt work and it does in cod4......
04-04-2012, 07:11 PM #7
247Yamato
< ^ > < ^ >
Originally posted by DEVASTATION View Post
Holy shit yamato get off my ass.

Im sorry you are $#@!ing asain and are 999 times smarter than everyone else, but get off our ass...

There isnt an error unless actionslotonebuttonpressed doesnt work and it does in cod4......


Really, I am not trolling or flaming on anyone, I appreciate you, Smile . I can see 3 errors and no, that function doesnt work in cod4.
04-04-2012, 07:13 PM #8
Originally posted by 247Yamato View Post
Really, I am not trolling or flaming on anyone, I appreciate you, Smile . I can see 3 errors and no, that function doesnt work in cod4.


sorry, but everytime I talk to you, you see like a smartass.... I fucking hate people like that. I'll fix i wrote it at 3 am. Gaspkay:
04-04-2012, 07:15 PM #9
247Yamato
< ^ > < ^ >
Originally posted by DEVASTATION View Post
sorry, but everytime I talk to you, you see like a smartass.... I $#@!ing hate people like that. I'll fix i wrote it at 3 am. Gaspkay:


Gaspkay: . Try to fix that.
04-04-2012, 07:18 PM #10
Originally posted by 247Yamato View Post
Gaspkay: . Try to fix that.


I f.ucking hate how it puts fuck <--- it makes it look more mad than I really am :lol:

and fixed :fyea:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo