WantedPoints problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: WantedPoints problem (
/showthread.php?tid=470491)
WantedPoints problem -
trulis - 18.10.2013
I have this script that should give the player wanted level 10 but it only gives wanted level 5 and i don't understand why.
pawn Код:
else if(Robbing[playerid] == 2)
{
SendClientMessage(playerid, -1, "{FFFFFF}Ai luat sacul cu bani, mergi spre urmatorul {F81414}checkpoint {FFFFFF}pentru a iesi din seif!");
SetPlayerAttachedObject(playerid, 2, 1550, 1, -0.004022, -0.191353, -0.034982, 158.161407, 87.838058, 0.000000, 1.000000, 1.000000, 1.000000 );
SetPlayerCheckpoint(playerid, 2143.8748,1627.8584,993.5761, 1.0);
WantedPoints[playerid] += 10;
SetPlayerCriminal(playerid,255, "Jefuirea bancii");
SendClientMessage(playerid, -1, "{FF0000}Ai primit + 10 Wanted Level.");
Robbing[playerid] = 3;
}
Re: WantedPoints problem -
Threshold - 18.10.2013
If you set a player's wanted level above 6, it will only show 6 stars. As 6 stars is the maximum wanted level that is achievable in single player, it is the same for SA-MP unless you're willing to create your own textdraws to add more stars to the screen.
Re: WantedPoints problem -
trulis - 18.10.2013
my gamemode is a godfather edit, so not the stars is the problem, the problem is that under /stats the player only has WantedLevel: 5 and not 10