Advertisement
Guest User

Untitled

a guest
Jan 16th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. public Action EVENT_playerDeath(Handle event, const char[] name, bool dontBroadcast)
  2. {
  3. new count, client;
  4. for (new i = 1; i <= MaxClients; i++)
  5. {
  6. if (IsClientInGame(i) && IsPlayerAlive(i))
  7. {
  8. client = i;
  9. count++;
  10. }
  11. }
  12.  
  13. if (count == 2)
  14. {
  15. g_hTimer = CreateTimer(0.1, MakeRainbowTrail, client, TIMER_REPEAT);
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement