This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Anybody, know how to check player exist(connect) ??
@avgnerd:
const int c_playerStatusUnused = 0; // No player in this slot const int c_playerStatusActive = 1; // Player is actively playing const int c_playerStatusLeft = 2; // Player has left the game
native int PlayerStatus (int inPlayer);
How could I implement this custom script? i find this to be really useful actually.
im also wondering too, how can this be done with normal triggers?
use a condition to check if the player is in the player group "active players" (make your event map initialization)
You can find 'Left the Game', 'Playing' and 'Unused' conditions in: New Condition -> Comparison -> 'Status of Player'.
Anybody, know how to check player exist(connect) ??
@avgnerd:
const int c_playerStatusUnused = 0; // No player in this slot
const int c_playerStatusActive = 1; // Player is actively playing
const int c_playerStatusLeft = 2; // Player has left the game
native int PlayerStatus (int inPlayer);
How could I implement this custom script? i find this to be really useful actually.
im also wondering too, how can this be done with normal triggers?
use a condition to check if the player is in the player group "active players" (make your event map initialization)
You can find 'Left the Game', 'Playing' and 'Unused' conditions in: New Condition -> Comparison -> 'Status of Player'.