20.06.2017, 21:51
something like ...
Код HTML:
CMD:timeleft(playerid) { new string[120]; if(gLogged == 0) return 1; // Check if he is logged put your variable. if(IsPlayerJailed == 1) // Your variable that calls if a player is or not in jail. { format(string, sizeof(string), "Your jail time: %d", playerinfo[playerid][jtime]); // This %d is for secconds only SCM(playerid, -1, string); } }