WantedLEVEL!
#1

I search for Wanted Level system so I will open CnR server and i want to know how to create a Wanted level system

I mean CnR Level can't stop it will continue so maybe the player can reach 400 wanted level or 1000 sometimes

So i want this wanted level system...

Can anyone help
Reply
#2

Try this

https://sampforum.blast.hk/showthread.php?tid=577307
Reply
#3

I have added /asay and /ac

After that i got this, I have the zcmd file on Pawno/include

Code:
D:\My server\gamemodes\TDM_Script.pwn(7) : fatal error 100: cannot read from file: "zcmd"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#4

it will work like this ?

Code:
public OnPlayerUpdate(playerid)
{
if (GetPlayerWantedLevel(playerid) > 6)
    {
      SetPlayerWantedLevel(playerid, 6);
    }
    SetPlayerWantedLevel(playerid,GetPlayerWantedLevel(playerid) + 4);
    format(string, sizeof(string), "Store Robbery - Wanted Level %d - Yellow", GetPlayerWantedLevel(playerid));
    SetPlayerWantedLevel(playerid,GetPlayerWantedLevel(playerid) + 5);
    format(string, sizeof(string), "Store Robbery - Wanted Level %d - Red", GetPlayerWantedLevel(playerid));
    SetPlayerWantedLevel(playerid,GetPlayerWantedLevel(playerid) + 6);
    format(string, sizeof(string), "Player Killed - Wanted Level %d - Red", GetPlayerWantedLevel(playerid));
    SetPlayerWantedLevel(playerid,GetPlayerWantedLevel(playerid) + 7);
    format(string, sizeof(string), "Bank Robbery - Wanted Level %d - Red", GetPlayerWantedLevel(playerid));
    
                 
	return 1;
}
Reply
#5

What is the maximum wanted level in your server?
Reply
#6

No limit You can be 2000 wanted level if the cop can't catch you and i want each 2 stars to be jailed for 30 sec...

Can you help
Reply
#7

You do know you can only set wanted levels from 0 to 6?

Look at the syntax of SetPlayerWantedLevel

Quote:
Originally Posted by SA:MP WIKI
Parameters:
(playerid, level)
playerid The ID of the player to set the wanted level of.
level The wanted level to set for the player (0-6).
Reply
#8

I don't me the stars

I mean The player wanted will show on the stars he got 6 stars but when had more than 6 stars it will show on the screen under the stars
PlayerWantedLevel 20

like this

or

Stars wanted is 20


I saw it on this server

192.99.220.194:7782
Reply
#9

Make a textdraw, if I'm not misaking, fonts 1 and 3 (could be other fonts) make stars when using the [ or ] symbols.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)