SA-MP Forums Archive
hlp :) - 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: hlp :) (/showthread.php?tid=371967)



hlp :) - Stereotype - 25.08.2012

Hello , i need help to make if(WantedLevel[i] > 1) to make textdraw at middle screen POLICE IS LOOKING FOR YOU


REP +


Re: hlp :) - xSiiLenTx - 25.08.2012

Just put it at the end of a CMDuspect Command


Re: hlp :) - Stereotype - 25.08.2012

yes but if player wanted goes to 0 after 2 minutes it will still be textdraw


Re: hlp :) - Lordzy - 25.08.2012

TRY THIS
pawn Код:
public OnPlayerUpdate(playerid)
{
   if(GetPlayerWantedLevel(playerid)<1)
   /*Text draw here,im using forums through mobile
 so i dont have any textdraws.Instead of that,I'll use Gametext.*/

    GameTextForPlayer(playerid, "Police is after you!", 3000, 1);
    return 1;
}
//Or use this function Under OnGamemode..