Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- #include <fakemeta>
- #include <engine>
- #include <fun>
- #include <cstrike>
- register_cvar("@hookvelocity", "1200");
- public hook_Attach(id)
- {
- isPlayerStartBlocked[id] = true;
- new Float:velo[3];
- velocity_by_aim(id, get_cvar_num("@hookvelocity"), velo)
- set_user_gravity(id, 0.0001);
- set_pev(id, pev_velocity, velo);
- if(g_bStarted[ id ] == 1)
- timerAbort(id)
- }
- /*
- THIS FUNCTION ABORTS THE TIMER FOR A PLAYER.
- public timerAbort( id )
- {
- g_bStarted[ id ] = false;
- client_print(id, print_center, "The timer has been reset!")
- }
Add Comment
Please, Sign In to add comment