bugged on wanted lvl
#1

i want stop the wanted lvl on 6. they are going to 10 , 12 and alot. but i want stop it on 6 after if some one crime so they show to him 6.
Reply
#2

pawn Код:
if(GetPlayerWantedLevel(playerid) >6){SetPlayerWantedLevel(playerid,6);}
Reply
#3

Quote:
Originally Posted by DaRk_RaiN
Посмотреть сообщение
pawn Код:
if(GetPlayerWantedLevel(playerid) >6){SetPlayerWantedLevel(playerid,6);}
not working

PHP код:
stock SetPlayerWanted(playeridlevel) {
    if (
level sizeof(WantedLevelStars)) level sizeof(WantedLevelStars);
    if (
level 0level 0;
    if(
GetPlayerWantedLevel(playerid) >6){SetPlayerWantedLevel(playerid,6);
    
PlayerInfo[playerid][pWanted] = level;
    
SetPlayerWantedLevel(playeridWantedLevelStars[level]);
    return 
level;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)