Hallo mein Admin Spawn sieht so aus wo könnte der fehler sein das ich ohe die admin waffen spawne
public OnPlayerSpawn(playerid)
{
SetPlayerHealth(playerid,1000.0);
GivePlayerWeapon(playerid,24,500);
GivePlayerWeapon(playerid,1,1);
SendClientMessage(playerid,COLOR_BLAU, "*** ANTI SPAWNKILL AN ***");
SetTimerEx("GiveWeapons", SPAWNTIME*1000, false, "i", playerid);
if(!isPlayerAnAdmin(playerid,1))
{
GivePlayerWeapon(playerid,1,1);
GivePlayerWeapon(playerid,24,99999);
GivePlayerWeapon(playerid,25,99999);
GivePlayerWeapon(playerid,29,99999);
GivePlayerWeapon(playerid,31,99999);
GivePlayerWeapon(playerid,34,99999);
return 1;
}
return 1;
}