GameTextForAll "para todos jogadores"
GameTextForPlayer "para o player"
se for para o payer
GameTextForPlayer "para o player"
(27/11/2020 20:38)Willis Escreveu: GameTextForAll "para todos jogadores"
GameTextForPlayer "para o player"
se for para o payer
Código:
public OnFilterScriptInit()
{
SetTimer("AttFomeSede", 5000, true);
return 1;
}
Código PHP:
forward Attajuda();
public Attajuda()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(!IsPlayerInAnyVehicle(i))
{
new Str[80],hora,minuto,segundo;
gettime(hora,minuto,segundo);
format(Str, sizeof(Str), "~n~~n~~n~~n~~n~~n~~n~~n~(%d:%d)"hora, minuto);
GameTextForPlayer(i, Str, 5000, 5);
}
}
}
return 1;
}