Raised This Month: $ Target: $400
 0% 

need help get


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 02-21-2006 , 04:11  
Reply With Quote #2

Code:
public client_PreThink(id) {     if(incar[id] != 0)     {         new bufferstop = entity_get_int(id,EV_INT_button)                   if(bufferstop != 0) {             entity_set_int(id,EV_INT_button,bufferstop & ~IN_ATTACK & ~IN_ATTACK2 & ~IN_ALT1 & ~IN_USE)         }                   if((bufferstop & IN_JUMP) && (entity_get_int(id,EV_INT_flags) & ~FL_ONGROUND & ~FL_DUCKING)) {             entity_set_int(id,EV_INT_button,entity_get_int(id,EV_INT_button) & ~IN_JUMP)         }     }         if(incar[id])     {         new Float:VecVel[3],Float:VecAngles[3];         entity_get_vector(id,EV_VEC_velocity,VecVel);         entity_get_vector(id,EV_VEC_v_angle,VecAngles);         VecVel[0] = floatcos(VecAngles[1],degrees) * 800.0;         VecVel[1] = floatsin(VecAngles[1],degrees) * 800.0;         entity_set_vector(id,EV_VEC_velocity,VecVel);     } }

And you got hit by the OLO ulgy code structure ^_^

PS. You can't do that twice public Client_Prethink and public Client_PreThink twice like that
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
 



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 20:18.


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