[Ajuda] BUG
#2

1є Poste em PHP fica mais lindo.

Quote:

public OnPlayerDeath(playerid, killerid, reason)
{
SetTimerEx("DesbugMorte", 1000, false, "i",playerid);

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;
}

OnPlayerDeath eu acho que й a funзгo de quando morre acontece algo.
La vocк pode adicionar efeitos entre outros mensagens entre mt mais '-'
e como assim onplayerdeath tem um sistema de evento x1..
e esse '' SetPlayerPos(playerid, Arenax1Spawns[rand][0], Arenax1Spawns[rand][1], Arenax1Spawns[rand][2]); ''

Tenta ver isso arenax1spwans ve isso sla

Espero ter ajudado :v
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: 1 Guest(s)