02.02.2016, 18:46
creo que es esta
public OnPlayerSpawn(playerid)
{
SetPlayerHealth(playerid,100000); SetTimerEx("AntKill", 15000, false, "i", playerid);
SendClientMessage(playerid,COLOR_RED,"{00FFFF}[Anti-Spawn-Kill] {FF0000}Estas protegido por el {2AFF17}Anti Spawn Kill {FF0000}por 15 segundos.");
CargarObjetos(playerid);
KillTimer(SoundAndTextTimer[playerid]);
TextDrawShowForPlayer(playerid, TextdrawAbajo);
TextDrawHideForPlayer(playerid,MOTD[playerid]);
CmdBloq[playerid] = 0;
SetPlayerWantedLevel( playerid, 0 );
TogglePlayerClock(playerid,1);
SetPlayerInterior(playerid,0);
SetPlayerRandomSpawn(playerid);
GivePlayerWeapon(playerid, 22, 1000);
GivePlayerWeapon(playerid, 27, 1000);
GivePlayerWeapon(playerid, 29, 2000);
GivePlayerWeapon(playerid, 31, 1500);
GivePlayerWeapon(playerid, 34, 1000);
return 1;
}
y el hecho ocurre en cualquier momento despues de morir spawnear pero por lo general ocurre cuando hay un filterscript mal
public OnPlayerSpawn(playerid)
{
SetPlayerHealth(playerid,100000); SetTimerEx("AntKill", 15000, false, "i", playerid);
SendClientMessage(playerid,COLOR_RED,"{00FFFF}[Anti-Spawn-Kill] {FF0000}Estas protegido por el {2AFF17}Anti Spawn Kill {FF0000}por 15 segundos.");
CargarObjetos(playerid);
KillTimer(SoundAndTextTimer[playerid]);
TextDrawShowForPlayer(playerid, TextdrawAbajo);
TextDrawHideForPlayer(playerid,MOTD[playerid]);
CmdBloq[playerid] = 0;
SetPlayerWantedLevel( playerid, 0 );
TogglePlayerClock(playerid,1);
SetPlayerInterior(playerid,0);
SetPlayerRandomSpawn(playerid);
GivePlayerWeapon(playerid, 22, 1000);
GivePlayerWeapon(playerid, 27, 1000);
GivePlayerWeapon(playerid, 29, 2000);
GivePlayerWeapon(playerid, 31, 1500);
GivePlayerWeapon(playerid, 34, 1000);
return 1;
}
y el hecho ocurre en cualquier momento despues de morir spawnear pero por lo general ocurre cuando hay un filterscript mal