[Ajuda] Comando - 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] Comando (
/showthread.php?tid=539614)
Comando -
FabioGTP - 29.09.2014
Como faзo para verificar se o cara tem dinheiro para comprar tal coisa?
Re: Comando -
MultiKill - 29.09.2014
Use a funзгo GetPlayerMoney.
Exemplo:
pawn Код:
if(GetPlayerMoney(playerid) == 100)
{
//Se o jogador tiver 100 reais
}
else
{
//Se nгo tiver 100 reais
}
Re: Comando -
FabioGTP - 29.09.2014
Quote:
Originally Posted by MultiKill
Use a funзгo GetPlayerMoney.
Exemplo:
pawn Код:
if(GetPlayerMoney(playerid) == 100) { //Se o jogador tiver 100 reais } else { //Se nгo tiver 100 reais }
|
vlw *-