[Ajuda] Bafometro - 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] Bafometro (
/showthread.php?tid=417779)
[Fechado]Bafometro -
Juniiro3 - 22.02.2013
Obrigado a todods que me ajudaram, consegui fazer o sistema e melhora-lo!
Agradecimento: Sky_.
Re: Bafometro -
MatheusAlcapone - 22.02.2013
Posta a linha acima
Re: Bafometro -
Juniiro3 - 22.02.2013
Ja postei
Re: Bafometro -
duuuwh - 22.02.2013
Expressгo dos argumentos sгo incorretas, olhe a sintaxe(+, +=, -, -=. *, *=, /, /=)
Para mais informaзхes..:
https://sampforum.blast.hk/showthread.php?tid=252966
Re: Bafometro -
Sky™ - 22.02.2013
pawn Код:
COMMAND:bafometro(playerid, params[])
{
new
OtherPlayer
_sx[ 50 ];
;
OtherPlayer = strval( params );
if(isnull( params ) ) return SendClientMessage( playerid, -1, "{FF0000}/bafometro [id]");
if (APlayerData[playerid][LoggedIn] == true){
if (APlayerData[playerid][PlayerClass] == ClassPolice){
if(IsPlayerConnected(OtherPlayer)) {
format(_sx, sizeof(_sx), "O nivel alcoolico do player e %s", GetPlayerDrunkLevel(OtherPlayer));
SendClientMessage(playerid, _sx);
}
}
else
{
SendClientMessage(playerid, COR_VERMELHA, "Voce nao e um PM");
}
}
return 1;
}
Re: Bafometro -
Schocc - 22.02.2013
SendClientMessage(playerid "O nivel alcoolico do player e %s", NivelAlcoolico);
Re: Bafometro -
Juniiro3 - 22.02.2013
Obrigado a todos