Restar Score. - 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: Restar Score. (
/showthread.php?tid=141571)
Restar Score. -
Lautaro_eb - 14.04.2010
Buenas , E Creado un Sistema De Compra por Score Haora lo que Nesesito Es Para Restar Score Probe Con
pawn Код:
SetPlayerScore(playerid,-10)
Pero lo Pone en -10 Negativo no resta 10 de 20 , espero Respuestas Gracias.
Re: Restar Score. -
Zamaroht - 14.04.2010
pawn Код:
SetPlayerScore(playerid, GetPlayerScore(playerid) - 10);
Echale un vistazo al cуdigo y tratб de deducir por quй funciona. Si no te das cuenta te explico.
Re: Restar Score. -
Lautaro_eb - 14.04.2010
Si Muchas Gracias El GetPlayerScore Verifica El Score del Jugador y le Resta 10.