Last active 12 hours ago
l4d2
makes player redirect movement to the nearest other player
0
0
1
| 1 | float targetPos[MAXPLAYERS+1][3]; |
| 2 | int targetEnt[MAXPLAYERS+1]; |
| 3 | |
| 4 | static char STORE_KEY[] = "SEND_TO_HEAVEN"; |
| 5 | |
| 6 | void SendToHeaven_OnActivate(int apologizer, int target, const char[] eventId) { |
| 7 | Handle h = CreateTimer(1.0, Timer_Levitate, GetClientUserId(apologizer), TIMER_REPEAT); |
| 8 | SorryStore[apologizer].SetBool(STORE_KEY, true); |
| 9 | } |