Raised This Month: $ Target: $400
 0% 

Blowback Bob help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
-(A99)- | sk8er
New Member
Join Date: Aug 2005
Old 08-31-2005 , 20:07   Blowback Bob help
Reply With Quote #1

sh_blowbackbob.sma(130) : error 017: undefined symbol "enemyPushed"\

Code:
//---------------------------------------------------------------------------------------------- public force_wind(id) {     {     new team[33], players[32], pnum, origin[3], vorigin[3], parm[4]     new Float:tempVelocity[3] = {0.0, 0.0, 200.0}     new bool:enemyPushed = false     get_user_team(id, team, 32)     // Find all alive enemies     if ( equali(team, "CT") ) {         get_players(players, pnum, "ae", "TERRORIST")     }     else {         get_players(players, pnum, "ae", "CT")     }     get_user_origin(id, origin)     for ( new victim = 0; victim < pnum; victim++ ) {         get_user_origin(players[victim], vorigin)         if ( get_distance(origin, vorigin) < get_cvar_num("bob_radius") ) {             // Set cooldown/sound/self damage only once, if push is used             if ( !enemyPushed ) {                 if (get_cvar_float("bob_cooldown") > 0.0) ultimateTimer(id, get_cvar_float("bob_cooldown"))                 }                 enemyPushed = true             }             // Stun enemy makes them easier to push             shStun(players[victim], 1)             set_user_maxspeed(players[victim], 1.0)             // First lift them             Entvars_Set_Vector(players[victim], EV_VEC_velocity, tempVelocity)             // Then push them back in x seconds after lift and do some damage             set_task(0.1, "move_enemy", 0, parm, 4)         }     }     if ( !enemyPushed && is_user_alive(id) ) {         client_print(id, print_chat, "[SH](Blowback Bob) No one around")     } } //----------------------------------------------------------------------------------------------

can any1 help me
-(A99)- | sk8er is offline
 


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


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