28.03.2015, 14:40
Nгo й pra adicionar a enum, e sim complementar.
Tente deste jeito.
Tente deste jeito.
PHP код:
CMD:hospitalizados(playerid) {
if(IsPlayerConnected(playerid)) {
SendClientMessage(playerid, 0xFFFFFFAA, "|______________[ Hospitalizados ]______________|");
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
if(PlayerInfo[i][TempoHospital] > 0) {
if(storeexit[i] == 1) {
GetPlayerName(i, sendername, sizeof(sendername));
format(string, 128, "Hospitalizado %s [Tempo: %d seg] {FFFFFF}(Hosp. de Los Santos)", sendername, PlayerInfo[i][TempoHospital]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
}
}
}
}
return 0x01;
}