24.04.2012, 01:25
Tipo depois de um tempo as estrela de procurado somem. O que eu faзo pra elas fica la sem sair?
SetPlayerWantedLevel(playerid, 0);
new wanted = WantedPoints[playerid]; new diecash = WantedPoints[playerid]*600; format(gstring, sizeof(gstring), "Vocк perdeu R$%d por morrer com Nivel De Procura: %d.", diecash, wanted); MSGPLAYER(playerid, COLOR_YELLOW, gstring); GivePlayerMoney(playerid, - diecash); WantedPoints[playerid] = 0; SetPlayerWantedLevel(playerid, 0); } /*SetPlayerPos(playerid, 2003.2236,2286.2568,1011.9437); SetPlayerFacingAngle(playerid, 264.0441); CameraPos(playerid,2003.0568,2289.4766,1013.1256); SetPlayerCameraLookAt(playerid,2003.2236,2286.2568,1011.9437); ApplyAnimation(playerid,"CRACK","crckdeth2",4.1,0,1,1,1,1); Controle(playerid, 0); PlayerInfo[playerid][pInt] = GetPlayerInterior(playerid); SetPlayerInterior(playerid, 1);*/
if(strcmp(cmd, "/suspeito", true) == 0 || strcmp(cmd, "/su", true) == 0) { if(IsPlayerConnected(playerid)) { if(!IsACop(playerid)) { MSGPLAYER(playerid, COLOR_GREY, " Vocк nгo й um policial!"); return 1; } if(OnDuty[playerid] != 1) { MSGPLAYER(playerid, COLOR_GREY, " Vocк nгo Bateu o cartгo!"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { MSGPLAYER(playerid, COLOR_GRAD2, "USE: (/su)speito [id] [Descriзгo do Crime]"); return 1; } giveplayerid = ReturnUser(tmp); if (IsACop(playerid)) { if(IsPlayerConnected(giveplayerid)) { if(IsACop(giveplayerid)) { MSGPLAYER(playerid, COLOR_GRAD1, "Vocк nгo pode dar su em Policiais!"); return 1; } if(giveplayerid != INVALID_PLAYER_ID) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { MSGPLAYER(playerid, COLOR_GRAD2, "USE: (/su)speito [id] [Descriзгo do Crime]"); return 1; } SetPlayerCriminal(giveplayerid,playerid, result); return 1; } } else { MSGPLAYER(playerid, COLOR_GRAD1, " Esse jogador nгo estб conectado."); return 1; } } else { MSGPLAYER(playerid, COLOR_GRAD2, " Vocк nгo й um Policial !"); } } return 1; }