Checking is player wanted
#1

Hello guys i stucked again...i need to check is player wanted so if player is wanted you will be able to /cuff him but if he aint it will send you message that you cannot cuff him
Please help
I use zcmd btw
Reply
#2

Use this https://sampwiki.blast.hk/wiki/GetPlayerWantedLevel
Reply
#3

https://sampwiki.blast.hk/wiki/GetPlayerWantedLevel

I'm going to assume you already have parts of the command in place.
pawn Код:
if (GetPlayerWantedLevel(id < 1) return SendClientMessage(playerid, -1, "Unable to cuff, person is not a suspect.");
Doesn't get much more simple.
Reply
#4

shitbird thanks...i knew its something like that but i wasnt really sure
Thanks, rep+
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)