Decreasing wanted
#3

First of all, This isn't a place where you request code... here we help you with your already writenn code.

However, Here you go:
PHP код:
//This is just some useful defines for time converting.
#define S_TO_MS(%0)            %0 * 1000
#define M_TO_MS(%0)            S_TO_MS(%0 * 60)
#define H_TO_MS(%0)            M_TO_MS(%0 * 60)
//This will be anywhere you want the timer to run.
SetTimerEx("DescreaseWantedLevel"M_TO_MS(10), 1"d"playerid);
//This will be anywhere in the script.
forward DecreaseWantedLevel(playerid);
public 
DecreaseWantedLevel(playerid)
{
    
SetPlayerWantedLevel(GetPlayerWantedLevel(playerid)--);
    return 
1;

And about textdraws, Search... There are tens of tutorials and editors about it.

E: Oh and also as Azula said, Make sure you delete the timer OnExit.
Reply


Messages In This Thread
Decreasing wanted - by KiM0Ro - 18.04.2015, 19:45
Re: Decreasing wanted - by Azula - 18.04.2015, 19:58
Re: Decreasing wanted - by Ahmad45123 - 18.04.2015, 19:59
Re: Decreasing wanted - by KiM0Ro - 18.04.2015, 20:21

Forum Jump:


Users browsing this thread: 1 Guest(s)