GetPlayerRespawnTime
From Onset Developer Wiki
Description
Get the player's respawn time set with SetPlayerRespawnTime.
Syntax
GetPlayerRespawnTime(player)
Parameters
- player
The player identifier.
Return Value
- Returns the respawn time in milliseconds.
Example
AddCommand("respawntime", function(playerid)
AddPlayerChat(playerid, "Your respawn time is: "..GetPlayerRespawnTime(playerid).." ms.")
end)