28.03.2015, 12:51
This is not the correct approach at all.
1.) Save time of last death of a player.
2.) On next death check time ex. GetTickCount() - LastDeathTime[playerid]
3.) Is it less than your tolerance? Example 1000ms ?
4.) If so kick player
1.) Save time of last death of a player.
2.) On next death check time ex. GetTickCount() - LastDeathTime[playerid]
3.) Is it less than your tolerance? Example 1000ms ?
4.) If so kick player