20.07.2014, 17:05
Galera, no meu gm, o player sу perde procurado quando й preso! Precisava de um code para perder nнvel de procura a cada 10 minutos!
Valeu!
Valeu!
forward PerderWanted(); public PerderWanted(){
for(new i, e= GetMaxPlayers(); i != e; ++i){
if(IsPlayerConnected(i)){
static pWANTED;
pWANTED = GetPlayerWantedLevel(playerid);
if(pWANTED != 0){
pWANTED --;
SetPlayerWantedLevel(playerid, pWANTED);
}
}
}
return 1;
}