Raised This Month: $ Target: $400
 0% 

need help please: no recoil


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
|OnEHiTwOnDeR|
Member
Join Date: Apr 2007
Location: Los Angeles
Old 12-18-2007 , 11:42   need help please: no recoil
Reply With Quote #1

now this is for Day Of Defeat

me <----------- total nub at this nd have never scripted anything in my life

i have this

Code:
// Created by potatis_invalido
stock create_recoil( id, Float:recoil ) {
    new Float:angles[3];
    pev(id, pev_v_angle, angles);
     
    angles[0] -= random_float(recoil * 1.2, recoil * 0.8);
    if(angles[0] < -88.994750)
    {
        angles[0] = -88.994750;
    }
    else if(angles[0] > 88.994750)
    {
        angles[0] = 88.994750;
    }
     
    angles[1] += random_float(recoil * 0.35, recoil * -0.35);
    if(angles[1] > 180.0)
    {
        angles[1] -= 360.0;
    }
    else if(angles[1] < -180.0)
    {
        angles[1] += 360.0;
    }
    set_pev(id, pev_angles, angles);
    set_pev(id, pev_fixangle, 1);
}
and have no idea what the heck to do with this. im trying to make dod have no recoil on my server and none of the plugins on here work for my mod.
help would be appreciated, thank you so much.
__________________
|OnEHiTwOnDeR| is offline
Send a message via AIM to |OnEHiTwOnDeR|
|OnEHiTwOnDeR|
Member
Join Date: Apr 2007
Location: Los Angeles
Old 12-18-2007 , 18:39   Re: need help please: no recoil
Reply With Quote #2

bump
__________________
|OnEHiTwOnDeR| is offline
Send a message via AIM to |OnEHiTwOnDeR|
Zenith77
Veteran Member
Join Date: Aug 2005
Old 12-19-2007 , 00:40   Re: need help please: no recoil
Reply With Quote #3

Wait a week or two then bump, or else down the can this goes. As for your problem, read the documentation, Wiki, and look at other plugins. Have a nice day.
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
|OnEHiTwOnDeR|
Member
Join Date: Apr 2007
Location: Los Angeles
Old 12-25-2007 , 10:09   Re: need help please: no recoil
Reply With Quote #4

anyone? come on u guys its christmas!
__________________
|OnEHiTwOnDeR| is offline
Send a message via AIM to |OnEHiTwOnDeR|
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode