[Ajuda] Administrador entrou PPC_Trucking - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Administrador entrou PPC_Trucking (
/showthread.php?tid=501685)
Administrador entrou PPC_Trucking -
Nork - 19.03.2014
Alguйm me ajuda? jб tentei de outras formas e nada...
Re: Administrador entrou PPC_Trucking -
focaximubh - 19.03.2014
pqp em '-'
pawn Код:
//OnPlayerConnect
if(APlayerData[playerid][PlayerLevel] >= 1)
{
new padmin[64], padminnick[MAX_PLAYER_NAME];
GetPlayerName(playerid, padmnick, sizeof(padmnick));
format(padmin, sizeof(padmin), "O Admin %s entrou no servidor", padminnick);
SendClientMessageToAll(0xFF00FFFF, padmin);
}
//Em OnPlayerDisconnect coloque o oposto da menssagem acima '-'
E vocк jб postou 3 tуpicos semelhantes a esse "probleminha" seu, manera ai '-'
Re: Administrador entrou PPC_Trucking -
Nork - 19.03.2014
Mais quando eu entro nгo aparece a mensagem.
Vбriavel level 1 atй 8 .
Re: Administrador entrou PPC_Trucking -
focaximubh - 19.03.2014
Se vocк quiser o nнvel do player basta colocar APlayerData[playerid][PlayerLevel] ¬¬ assim у
pawn Код:
if(APlayerData[playerid][PlayerLevel] >= 1)
{
new padmin[64], padminnick[MAX_PLAYER_NAME];
GetPlayerName(playerid, padmin "O Admin: %s Cargo: %s entrou no servidor", padminnick, AdminLevelName[APlayerData[playerid][PlayerLevel]]);
SendClientMessageToAll(0xFF00FFFF, padmin);
}