Post: Need Some Codes
08-29-2012, 01:14 AM #1
YourAMeatBall
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); Does anyone have the welcoming text code that is in Ai Zombies?
and the unban player code?
(adsbygoogle = window.adsbygoogle || []).push({});
08-29-2012, 01:17 AM #2
ForgivenxModz
Bounty hunter
Originally posted by YourAMeatBall View Post
Does anyone have the welcoming text code that is in Ai Zombies?
and the unban player code?



    self thread newSplash("Welcome "+self.name+","YOUR TEXT HERE","Hosted by "+level.hostname+")




newSplash(String1, String2 ,String3)
{
Text1 = createFontString("default",2.5);
Text1 setPoint("CENTER","CENTER",-120,-40);
Text1 setText(String1);
Text1.glow = 1;
Text1.glowColor = (1,0,0);
Text1.glowAlpha = 1;
Text1.color = (1,0,0);
Text1.alpha = 1;
Text1 moveOverTime(.6);
Text1.y = 0;
Text1.x = -40;
wait .6;
Text2 = createFontString("default",2.5);
Text2 setPoint("CENTER","CENTER",-120,0);
Text2 setText(String2);
Text2.glow = 1;
Text2.glowColor = (1,0,0);
Text2.glowAlpha = 1;
Text2.color = (1,0,0);
Text2.alpha = 1;
Text2 moveOverTime(.6);
Text2.y = 40;
Text2.x = 0;
wait .6;
Text3 = createFontString("default",2.5);
Text3 setPoint("CENTER","CENTER",-120,40);
Text3 setText(String3);
Text3.glow = 1;
Text3.glowColor = (1,0,0);
Text3.glowAlpha = 1;
Text3.color = (1,0,0);
Text3.alpha = 1;
Text3 moveOverTime(.6);
Text3.y = 80;
Text3.x = 40;
wait .6;
Text1 SetPulseFX(50,6050,600);
Text2 SetPulseFX(50,6050,600);
Text3 SetPulseFX(50,6050,600);
}



Unban Code
    //unban function
unbanPlayer( banString )
{
array = strTok( banString, "," );
bguid = array[0]; bname = array[1];
banlist = [];
for ( b = 0; getDvar( "banned" + b ) != ""; b++ )
{
banlist[banlist.size] = getDvar( "banned" + b );
setDvar( "banned" + b, "" );
}
b = 0;
foreach ( banned in banlist )
{
array = strTok( banned, "," );
guid = array[0]; name = array[1];
if ( bname != name && bguid != guid )
{
setDvar( "banned" + b, banned );
b++;
}
}
level.banList = [];
for ( b = 0; getDvar( "banned" + b ) != ""; b++ ) level.banList[level.banList.size] = getDvar( "banned" + b );
}
08-29-2012, 01:32 AM #3
YourAMeatBall
Bounty hunter
ok and now do u have a Suicide yourself code?

---------- Post added at 09:32 PM ---------- Previous post was at 09:30 PM ----------

Originally posted by ForgivenxModz View Post
    self thread newSplash("Welcome "+self.name+","YOUR TEXT HERE","Hosted by "+level.hostname+")




newSplash(String1, String2 ,String3)
{
Text1 = createFontString("default",2.5);
Text1 setPoint("CENTER","CENTER",-120,-40);
Text1 setText(String1);
Text1.glow = 1;
Text1.glowColor = (1,0,0);
Text1.glowAlpha = 1;
Text1.color = (1,0,0);
Text1.alpha = 1;
Text1 moveOverTime(.6);
Text1.y = 0;
Text1.x = -40;
wait .6;
Text2 = createFontString("default",2.5);
Text2 setPoint("CENTER","CENTER",-120,0);
Text2 setText(String2);
Text2.glow = 1;
Text2.glowColor = (1,0,0);
Text2.glowAlpha = 1;
Text2.color = (1,0,0);
Text2.alpha = 1;
Text2 moveOverTime(.6);
Text2.y = 40;
Text2.x = 0;
wait .6;
Text3 = createFontString("default",2.5);
Text3 setPoint("CENTER","CENTER",-120,40);
Text3 setText(String3);
Text3.glow = 1;
Text3.glowColor = (1,0,0);
Text3.glowAlpha = 1;
Text3.color = (1,0,0);
Text3.alpha = 1;
Text3 moveOverTime(.6);
Text3.y = 80;
Text3.x = 40;
wait .6;
Text1 SetPulseFX(50,6050,600);
Text2 SetPulseFX(50,6050,600);
Text3 SetPulseFX(50,6050,600);
}



Unban Code
    //unban function
unbanPlayer( banString )
{
array = strTok( banString, "," );
bguid = array[0]; bname = array[1];
banlist = [];
for ( b = 0; getDvar( "banned" + b ) != ""; b++ )
{
banlist[banlist.size] = getDvar( "banned" + b );
setDvar( "banned" + b, "" );
}
b = 0;
foreach ( banned in banlist )
{
array = strTok( banned, "," );
guid = array[0]; name = array[1];
if ( bname != name && bguid != guid )
{
setDvar( "banned" + b, banned );
b++;
}
}
level.banList = [];
for ( b = 0; getDvar( "banned" + b ) != ""; b++ ) level.banList[level.banList.size] = getDvar( "banned" + b );
}


ok and now do you have a suicide code? to kill yourself?
08-29-2012, 02:32 AM #4
ForgivenxModz
Bounty hunter
Originally posted by YourAMeatBall View Post
ok and now do u have a Suicide yourself code?

---------- Post added at 09:32 PM ---------- Previous post was at 09:30 PM ----------



ok and now do you have a suicide code? to kill yourself?

This is coded for player menu
    plS(p)
{
self thread ccTXT("Suicided: "+p.name);
p suicide();
}

self
    suicide()
{
self suicide();
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo