[Ajuda] GetPlayerScore..... :) - 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] GetPlayerScore..... :) (
/showthread.php?tid=531044)
GetPlayerScore..... :) -
RDM - 10.08.2014
Olha galera eu gostaria de saber como posso fazer para q se o player tiver entre 0 e 650 de score .... quero so a if ....
isso nгo esta funcionando if(GetPlayerScore(playerid) <= 0 && GetPlayerScore(playerid)> 650) { } tem outra forma de fazer isso? e pq nao esta funcionando o codigo acima !!!! Quem puder ajuda serei Grato !!@
Re: GetPlayerScore..... :) -
SkullFire - 10.08.2014
Leia sobre isso :
https://sampforum.blast.hk/showthread.php?tid=240266
-
https://sampwiki.blast.hk/wiki/Control_Structures#Operators
Re: GetPlayerScore..... :) -
Dolby - 10.08.2014
pawn Код:
if(GetPlayerScore(playerid) <= 0 && GetPlayerScore(playerid)> 650)
Nгo funcionou porque vocк fez basicamente isto:
Quote:
SE o SCORE for MENOR OU IGUAL a 0 E for MAIOR que 650
|
Jб deu a entender onde errou, certo?
Vocк se confundiu com os operadores. Leia o tutorial postado pelo membro acima.
Quanto for postar algum cуdigo, use as tags
[pawn] e
[/pawn] para facilitar a visualizaзгo.
Re: GetPlayerScore..... :) -
RDM - 10.08.2014
OBrigado skull e dolby me comfundi kkk agr q me toquei vlws ae kkkkkk
Re: GetPlayerScore..... :) -
Schocc - 10.08.2014
Jб falei, use switch para um sistema bem feito como patentes por Score.