Wanted Level
#1

Hello Guys Can Some1 Guide me where I can find a script who show the wanted level?
I'm kinda new to Pawno and SAMP Scripting Style so.... I need to ask for help.


All what I need from the script is to add the Stars when you have a Wanter Level.



Thanks in advice.
Reply
#2

SetPlayerWantedLevel(playerid, level);

https://sampwiki.blast.hk/wiki/SetPlayerWantedLevel
Reply
#3

Uhhh it will add automatically when you put
pawn Код:
SetPlayerWantedLevel(playerid, Level);
For anymore info look at here : https://sampwiki.blast.hk/wiki/SetPlayerWantedLevel
Reply
#4

Erm... I don't see any difference in our posts
Reply
#5

Okay thanks for help
Reply
#6

Sorry for double post, but from what I have read on wiki this script ADD the Wanted.
But what I ask is a kind of script who show the wanted level under the money.

I'm sorry if I'm wrong so please tell me.
Reply
#7

That's what it does, to give the player a wanted level you use that function, and it'll automatically show it.

Test:
pawn Код:
public OnPlayerSpawn(playerid)
{
   SetPlayerWantedLevel(playerid, 3);
   return 1;
}
Reply
#8

Okay, I will test it now.
And I will let a reply.

I have asked this because if I try to enter a Police Car I get WantedLevel 2 But the Stars wont show.
Reply
#9

In that case, could you please show the code where you are giving the player two wanted level for entering a police vehicle?
Reply
#10

Quote:
Originally Posted by Grim_
Посмотреть сообщение
In that case, could you please show the code where you are giving the player two wanted level for entering a police vehicle?
Thanks for the help but now I have found what was wrong =]
I have made a noob error when I was Call the WantedLevel =]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)