@Hamers
du hattest mal wieder recht,
klappt wunderbar
ihr das fertige feuerwerk skript wen es einer will.
dann die nägste frage....PHP-Code:-- --------------------------------------------------------------------------------------------------------------------------
-- !fun3 = Feuerwerk
-- --------------------------------------------------------------------------------------------------------------------------
AEGIS.chatCommands.fun3 = {};
function AEGIS.chatCommands.fun3:func(player, chatMsg)
if(player:IsDead()) then return end
if(player.actor:GetSpectatorMode()~=0) then return end
if(fun3Lock) then XSendChatToTarget(nil, player,
"Feuerwerk ist erst in 15 Sekunden wieder nutzbar!"
); return end
Script.SetTimer( 0001,function() fun3Lock = true; end);
local pos = XCalcSpawnPlayerPos(player,-1);
Script.SetTimer( 0002,function() XSendBigCenterMessageToPlayer(player,"<font color=\"#ff0000\">[</font><font color=\"#FFFFFF\">FEUERWERK</font><font color=\"#ff0000\">]</font>"); end);
Script.SetTimer( 1000,function() g_gameRules:CreateExplosion(player.id,weaponId,10,pos,g_Vectors.up,1,1,1,1,"explosions.flare.a",3.75, 2, 2, 2); end);
Script.SetTimer( 1001,function() g_gameRules:CreateExplosion(player.id,weaponId,10,pos,g_Vectors.up,1,1,1,1,"misc.extremly_important_fx.celebrate",3.75, 2, 2, 2); end);
Script.SetTimer( 2000,function() g_gameRules:CreateExplosion(player.id,weaponId,10,pos,g_Vectors.up,1,1,1,1,"misc.extremly_important_fx.celebrate",3.75, 2, 2, 2); end);
Script.SetTimer( 2001,function() g_gameRules:CreateExplosion(player.id,weaponId,10,pos,g_Vectors.up,1,1,1,1,"explosions.flare.a",3.75, 2, 2, 2); end);
Script.SetTimer( 2100,function() g_gameRules:CreateExplosion(player.id,weaponId,10,pos,g_Vectors.up,1,1,1,1,"misc.extremly_important_fx.celebrate",3.75, 2, 2, 2); end);
Script.SetTimer( 2500,function() g_gameRules:CreateExplosion(player.id,weaponId,10,pos,g_Vectors.up,1,1,1,1,"explosions.flare.a",3.75, 2, 2, 2); end);
Script.SetTimer( 3000,function() g_gameRules:CreateExplosion(player.id,weaponId,10,pos,g_Vectors.up,1,1,1,1,"misc.extremly_important_fx.celebrate",3.75, 2, 2, 2); end);
Script.SetTimer( 3001,function() g_gameRules:CreateExplosion(player.id,weaponId,10,pos,g_Vectors.up,1,1,1,1,"misc.extremly_important_fx.celebrate",3.75, 2, 2, 2); end);
Script.SetTimer( 3100,function() g_gameRules:CreateExplosion(player.id,weaponId,10,pos,g_Vectors.up,1,1,1,1,"misc.extremly_important_fx.celebrate",3.75, 2, 2, 2); end);
Script.SetTimer( 3500,function() g_gameRules:CreateExplosion(player.id,weaponId,10,pos,g_Vectors.up,1,1,1,1,"explosions.flare.a",3.75, 2, 2, 2); end);
Script.SetTimer( 4000,function() g_gameRules:CreateExplosion(player.id,weaponId,10,pos,g_Vectors.up,1,1,1,1,"misc.extremly_important_fx.celebrate",3.75, 2, 2, 2); end);
Script.SetTimer( 5000,function() g_gameRules:CreateExplosion(player.id,weaponId,10,pos,g_Vectors.up,1,1,1,1,"misc.extremly_important_fx.celebrate",3.75, 2, 2, 2); end);
Script.SetTimer( 6000,function() g_gameRules:CreateExplosion(player.id,weaponId,10,pos,g_Vectors.up,1,1,1,1,"explosions.flare.a",3.75, 2, 2, 2); end);
Script.SetTimer( 6001,function() g_gameRules:CreateExplosion(player.id,weaponId,10,pos,g_Vectors.up,1,1,1,1,"explosions.flare.dropped_from_plane",3.75, 2, 2, 2); end);
Script.SetTimer( 15000,function() fun3Lock = false; end);
end
ich habe ein waffen party skript.
geht alles wunderbar, nur die XSendBigCenterMessage geht leider nur an den player der das skript ausführt.
ich will aber das die XSendBigCenterMessage an den ganzen server geht,
damit auch jeder weis das eine waffen party beginnt.
wie muss das skript ausehen ???
weil XSendBigCenterMessageToServer oder so geht leider nicht ?
hier das original
PHP-Code:-- --------------------------------------------------------------------------------------------------------------------------
-- !fun4 = FGL40 Party
-- --------------------------------------------------------------------------------------------------------------------------
AEGIS.chatCommands.fun4 = {};
function AEGIS.chatCommands.fun4:func(player, chatMsg)
if(player:IsDead()) then return end
if(player.actor:GetSpectatorMode()~=0) then return end
if(fun4Lock) then XSendChatToTarget(nil, player,
"FGL40 Party ist erst in 10 minuten wieder nutzbar!"
); return end
Script.SetTimer( 01,function() fun4Lock = true; end);
Script.SetTimer( 0001,function() XSendBigCenterMessageToPlayer(player,"<font color=\"#ff0000\">[</font><font color=\"#FFFFFF\">FGL40 PARTY STARTET IN 5 SEKUNDEN</font><font color=\"#ff0000\">]</font>"); end);
Script.SetTimer( 2000,function() XSendBigCenterMessageToPlayer(player,"<font color=\"#ff0000\">[</font><font color=\"#FFFFFF\">FGL40 PARTY STARTET IN 4 SEKUNDEN</font><font color=\"#ff0000\">]</font>"); end);
Script.SetTimer( 3000,function() XSendBigCenterMessageToPlayer(player,"<font color=\"#ff0000\">[</font><font color=\"#FFFFFF\">FGL40 PARTY STARTET IN 3 SEKUNDEN</font><font color=\"#ff0000\">]</font>"); end);
Script.SetTimer( 4000,function() XSendBigCenterMessageToPlayer(player,"<font color=\"#ff0000\">[</font><font color=\"#FFFFFF\">FGL40 PARTY STARTET IN 2 SEKUNDEN</font><font color=\"#ff0000\">]</font>"); end);
Script.SetTimer( 5000,function() XSendBigCenterMessageToPlayer(player,"<font color=\"#ff0000\">[</font><font color=\"#FFFFFF\">FGL40 PARTY STARTET IN 1 SEKUNDEN</font><font color=\"#ff0000\">]</font>"); end);
Script.SetTimer( 5999,function() XSendBigCenterMessageToPlayer(player,"<font color=\"#ff0000\">[</font><font color=\"#FFFFFF\">!!!FGL40 PARTY!!!</font><font color=\"#ff0000\">]</font>"); end);
Script.SetTimer( 6000,function() System.ExecuteCommand(XFormat("x_item_give all FGL40")); end);
Script.SetTimer( 6100,function() System.ExecuteCommand(XFormat("x_item_give all FGL40")); end);
Script.SetTimer( 6300,function() XSendBigCenterMessageToPlayer(player,"<font color=\"#ff0000\">[</font><font color=\"#FFFFFF\">!!!FGL40 PARTY!!!</font><font color=\"#ff0000\">]</font>"); end);
Script.SetTimer( 6400,function() XSendBigCenterMessageToPlayer(player,"<font color=\"#ff0000\">[</font><font color=\"#FFFFFF\">!!!FGL40 PARTY!!!</font><font color=\"#ff0000\">]</font>"); end);
Script.SetTimer( 6500,function() XSendBigCenterMessageToPlayer(player,"<font color=\"#ff0000\">[</font><font color=\"#FFFFFF\">!!!FGL40 PARTY!!!</font><font color=\"#ff0000\">]</font>"); end);
Script.SetTimer( 6600,function() XSendBigCenterMessageToPlayer(player,"<font color=\"#ff0000\">[</font><font color=\"#FFFFFF\">!!!FGL40 PARTY!!!</font><font color=\"#ff0000\">]</font>"); end);
Script.SetTimer( 600000,function() fun4Lock = false; end);
end




Zitieren
