Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Action EVENT_playerDeath(Handle event, const char[] name, bool dontBroadcast)
- {
- new count, client;
- for (new i = 1; i <= MaxClients; i++)
- {
- if (IsClientInGame(i) && IsPlayerAlive(i))
- {
- client = i;
- count++;
- }
- }
- if (count == 2)
- {
- g_hTimer = CreateTimer(0.1, MakeRainbowTrail, client, TIMER_REPEAT);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement