|
Faзa um debug para verificar o que estб errado,Olhe em cada SetTimer.
|
BPS::SetPlayerAttachedObjectEx(Modelid, SlotReal, playerid, index)
{
if(index < 10)
{
ItemSlotP[playerid][index] = SlotReal;
ItemSlotA[playerid][SlotReal] = index;
SlotDItem[playerid][index] = Modelid;
}
}
public Atualizar(playerid)
{
print("Callback Atualizar estб em execuзгo");
new Str[50];
if(GetPlayerWantedLevel(playerid) > 0)
{
print("O level de procurado do jogador й maior que 0");
Delete3DTextLabel(LabelProc[playerid]);
format(Str,sizeof(Str),"Procurado Nнvel: %d",GetPlayerWantedLevel(playerid));
Label[playerid] = Create3DTextLabel(Str, 0xFF0000AA, 30.0, 40.0, 50.0, 100.0, 0);
Attach3DTextLabelToPlayer(Label[playerid], playerid, 0.0, 0.0, 0.3);
}
print("Callback Finalizada");
return 1;
}
|
Olha os settimer que ta atualizando suas public...
vк se nгo tem nenhuma settimer com '1000' = 1 Segundo com ' SendClientMessage ' Usa daquele modo que eu postei, peguei da minha antiga gamemode! Obs: Espero que vc esteja testando com outra pessoa, pq vc propio n vк a tag encima de vc! '------' |
SetTimer("AtualizarChatBubble", 100, true); //Eu costumo deixar 100 msm, atualiza mais rбpido, Mas o normal й 1000 .-.
//---------------------- Timers -----------------------
SetTimer("RandomServerNames",7000, 1);
faztime = SetTimer("Fazenda", 600000, 1);
SetTimer("CheckAFK",60000,true);// afk mode
SetTimer("Velocimetro", 500, 1);
SetTimer("SendMensagens",120000,1);
SetTimer("SetPlayerUnjail", 1000, 1);
SetTimer("OtherTimer", 1000, 1);
SetTimer("CarCheck", 40000, 1);
SetTimer("CustomPickups", 1000, 1);
SetTimer("PiscarTD", 15000, 1);
SetTimer("Spectator", 2000, 1);
SetTimer("Production", 300000, 1);
SetTimer("CheckGas", 15000, 1);
SetTimer("reloginho",1000,1);
SetTimer("OnplayerAtualizador",1000,1);
SetTimer("UpdateDrogas", tempodrogas*70000, 1);
SetTimer("AllCheater", 1000, true);
SetTimer("CriarIncendio", 20000*25, 0);
SetTimer("AtualizarRank", 40000*20, 1);
// SetTimer("TextProcu",1000,true);
//SetTimer("TextProcu", 1500, true);
|
Olha os settimer que ta atualizando suas public...
vк se nгo tem nenhuma settimer com '1000' = 1 Segundo com ' SendClientMessage ' Usa daquele modo que eu postei, peguei da minha antiga gamemode! Obs: Espero que vc esteja testando com outra pessoa, pq vc propio n vк a tag encima de vc! '------' |
SetTimer("OnplayerAtualizador",1000,1);
|
da uma olhada nessa settimer:
PHP Code:
- Man n tem como ver vc mesmo a tag encima de vc! tem que ter uma pessoa pra testar! |
//OnGameModeInit
SetTimer("AtualizarChatBubble", 1000, true);
//Public
forward AtualizarChatBubble();
public AtualizarChatBubble()
{
for(new x = 0; x < MAX_PLAYERS; x++)
{
if(GetPlayerWantedLevel(x) == 1)
{
SetPlayerChatBubble(x, "Procurado(a) Nнvel: 1", 0xFF0000AA, 100.0, 100000);
}
if(GetPlayerWantedLevel(x) == 2)
{
SetPlayerChatBubble(x, "Procurado(a) Nнvel: 2", 0xFF0000AA, 100.0, 100000);
}
if(GetPlayerWantedLevel(x) == 3)
{
SetPlayerChatBubble(x, "Procurado(a) Nнvel: 3", 0xFF0000AA, 100.0, 100000);
}
if(GetPlayerWantedLevel(x) == 4)
{
SetPlayerChatBubble(x, "Procurado(a) Nнvel: 4", 0xFF0000AA, 100.0, 100000);
}
if(GetPlayerWantedLevel(x) == 5)
{
SetPlayerChatBubble(x, "Procurado(a) Nнvel: 5", 0xFF0000AA, 100.0, 100000);
}
if(GetPlayerWantedLevel(x) == 6)
{
SetPlayerChatBubble(x, "Procurado(a) Nнvel: 6", 0xFF0000AA, 100.0, 100000);
}
}
}
|
da uma olhada nessa settimer:
PHP Code:
- Man n tem como ver vc mesmo a tag encima de vc! tem que ter uma pessoa junto pra testar! Obs: acho que tem como ver pela camera 3° pessoa tbm! |
if(GetPlayerWantedLevel(playerid) == 1) f(GetPlayerWantedLevel(playerid) == 2) if(GetPlayerWantedLevel(playerid) == 3) if(GetPlayerWantedLevel(playerid) == 4) if(GetPlayerWantedLevel(playerid) == 5) if(GetPlayerWantedLevel(playerid) == 6)
C:\Users\joao\Desktop\sistema de carro\gamemodes\BRAZIL2.pwn(118756) : error 017: undefined symbol "playerid" C:\Users\joao\Desktop\sistema de carro\gamemodes\BRAZIL2.pwn(118760) : error 017: undefined symbol "playerid" C:\Users\joao\Desktop\sistema de carro\gamemodes\BRAZIL2.pwn(118764) : error 017: undefined symbol "playerid" C:\Users\joao\Desktop\sistema de carro\gamemodes\BRAZIL2.pwn(118768) : error 017: undefined symbol "playerid" C:\Users\joao\Desktop\sistema de carro\gamemodes\BRAZIL2.pwn(118772) : error 017: undefined symbol "playerid" C:\Users\joao\Desktop\sistema de carro\gamemodes\BRAZIL2.pwn(118776) : error 017: undefined symbol "playerid"
if(GetPlayerWantedLevel(x) == 1)
if(GetPlayerWantedLevel(x) == 2)
if(GetPlayerWantedLevel(x) == 3)
if(GetPlayerWantedLevel(x) == 4)
if(GetPlayerWantedLevel(x) == 5)
if(GetPlayerWantedLevel(x) == 6)
|
PHP Code:
Testa lб. ![]() |