[Ajuda] BUG
#4

Код:
if(GetPVarInt(playerid, "inArena"))
{
new rand;
rand = random(sizeof(Arenax1Spawns));
SetPlayerPos(playerid, Arenax1Spawns[rand][0], Arenax1Spawns[rand][1], Arenax1Spawns[rand][2]);
SetPlayerFacingAngle(playerid, Arenax1Spawns[rand][3]);
SetPlayerInterior(playerid, 10);
SetPlayerVirtualWorld(playerid, 0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 24, 999);
GivePlayerWeapon(playerid, 25, 999);
GivePlayerWeapon(playerid, 31, 999);
GivePlayerWeapon(playerid, 34, 999);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
SetPVarInt(playerid, "inArena", 1);
ChatKill[playerid] = true;
SendClientMessage(playerid, COLOR_GRAD1, "•• {FFFFFF}Bem vindo a Arena X1, caso quiser sair, use: /sairarena");
return 1;
}
Sugiro que vocк ponha isso em outro lugar, pq na OnPlayerDeath, vai continuar bugando.
Se vocк tб fazendo um sistema de x1 com renascimento automбtico ou coisa assim, ponha isto na OnPlayerSpawn.
Reply


Messages In This Thread
BUG - by Jorginhoda12 - 09.12.2017, 02:10
Re: BUG - by SnowBorn - 09.12.2017, 10:15
Re: BUG - by Jorginhoda12 - 09.12.2017, 13:12
Re: BUG - by MrEdu - 09.12.2017, 22:26

Forum Jump:


Users browsing this thread: 2 Guest(s)