Evitar Dinero y Score Negativo - 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: Español/Spanish (
https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Evitar Dinero y Score Negativo (
/showthread.php?tid=611624)
Evitar Dinero y Score Negativo -
Zodiaco - 09.07.2016
Hola amigos del SAMP, tengo una pequeсa duda: Puse una condiciуn que cada vez que muere un player le quite
-5 de Score y le quite
-500 en dinero.. Mi pregunta como puedo evitar, que le siga quitando score y Dinero si es igual 0 .. porque veo que cada vez que muere le sigue restando en negativo... Quiero que al llegar a Cero se quede ahi, tanto como el score y Dinero..
Saludos
Re: Evitar Dinero y Score Negativo -
SickAttack - 09.07.2016
La solucion no es obvio?
Re: Evitar Dinero y Score Negativo -
Onfroi - 09.07.2016
Chequea si el jugador tiene score > 5 y dinero > 500
Re: Evitar Dinero y Score Negativo -
elpana27 - 17.09.2016
como puedo hacer que en vez de ganar dinero solo se gane score??
Respuesta: Evitar Dinero y Score Negativo -
!R1Ch@rD! - 17.09.2016
y el cуdigo? xD
Respuesta: Evitar Dinero y Score Negativo -
Goncho28 - 18.09.2016
pawn Код:
if(Dinero < 0)
{
Dinero = 0;
return 1;
}
Ahн tienes una idea.
Re: Evitar Dinero y Score Negativo -
RedMF - 18.09.2016
virifique OnPlayerDealth
Mande a callback aqui
Portuguкs
CLick here