Raised This Month: $ Target: $400
 0% 

ADV. script, need some help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
IceMouse[WrG]
Senior Member
Join Date: Mar 2004
Old 04-23-2004 , 19:24  
Reply With Quote #7

Code:
new rocketvel[33][3] new framemod = 10; new framecount = 0; public rocket_init(id) { ... new Float:length=get_vector_distance(look,origin); for(new i=0; i<3; i++)    rocketvel[id][i] = (view[i]-origin[i])*length/SPEED; ... } public server_frame() { framecount++; ... if(!(framecount%framemod)) {     for(new i=0; i<33;i++)     {         if(!rocketid[i]) continue         entity_set_vector(rocketid[i], EV_VEC_velocity, rocketvel[i])     } } .... }
Given it isn't perfect, it gives the idea
IceMouse[WrG] is offline
Send a message via AIM to IceMouse[WrG] Send a message via MSN to IceMouse[WrG] Send a message via Yahoo to IceMouse[WrG]
 



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 14:57.


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