MegastoRM

Untitled

Aug 5th, 2012
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. public client_PreThink(id) {
  2. if (entity_get_int(id, EV_INT_button) & 2 && informacije_predmet_igraca[id][0] == 41) {
  3. new flags = entity_get_int(id, EV_INT_flags)
  4.  
  5. if (flags & FL_WATERJUMP)
  6. return PLUGIN_CONTINUE
  7. if ( entity_get_int(id, EV_INT_waterlevel) >= 2 )
  8. return PLUGIN_CONTINUE
  9. if ( !(flags & FL_ONGROUND) )
  10. return PLUGIN_CONTINUE
  11.  
  12. new Float:velocity[3]
  13. entity_get_vector(id, EV_VEC_velocity, velocity)
  14. velocity[2] += 250.0
  15. entity_set_vector(id, EV_VEC_velocity, velocity)
  16.  
  17. entity_set_int(id, EV_INT_gaitsequence, 6)
  18. }
  19. if(klasa_igraca[id] == ProAssassin)
  20. {
  21. set_user_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderTransColor, 1);
  22. }
  23. return PLUGIN_CONTINUE
  24. }
Advertisement
Add Comment
Please, Sign In to add comment