Post: My new SharpShooter is a basic gametype.
04-12-2012, 01:23 AM #1
KingcreekS
NOTHING IS IMPOSSIBL
(adsbygoogle = window.adsbygoogle || []).push({}); Hello people,
i make a sharpshooter it was so hard for me to code a gametype , i dont do it too long like awesomes coders do , but this the 4 code i make so it will be a little bad.

Here the code for sharp shooter:

Put This onPlayerSpawned :
    self thread sharpShooter();


Then add this anywhere:
    sharpShooter()
{
self iPrintln("^5You are playing: ^3SharpShooter by Bloodfocus");
self thread WelcomeMessage();
self thread TimerText();
self thread BuildWeapons();
}

WelcomeMessage()
{
notifyData = spawnstruct();
notifyData.titleText = "^5B^2l^1o^3o^4d^6f^5o^2c^1u^3s ^4S^6h^5a^2r^3p^1S^6h^3o^4o^1t^2e^6r ^1p^20^4.^11";
notifyData.notifyText = "^6Weapons Cycling Every 60 Seconds";
notifyData.glowColor = (0, 0, 0);
notifyData.duration = 8;
for(;Winky Winky
{
wait 5;
self iPrintln("^5You are playing: ^3SharpShooter p0.1");
wait 5;
self iPrintln("^5Gamemode made by:Bloodffocus");
wait 5;
self iPrintln("^5Win or die");
wait 5;
self iPrintln("^5join nextgenupdate.com");
}
}

TimerText()
{
self.display=self CreateFontString("default",2.0);
self.display setPoint("TOP","TOP",0,0);
self.display.alpha=1;
self.display.sort=1;
for(;Winky Winky
{
self thread updateTimer();
self thread SharpShooterWeapons();
wait 45;
}
}
updateTimer()
{
for(i=45;i>0;i--)
{
self.display setText("^6Next Weapon In: "+i);
wait 1;
}
}

SharpShooterWeaponsCycling()
{
self.gun=self GetCurrentWeapon();
level.cgun=level.SharpWeaponsList[randomint(level.SharpWeaponsList.size)];
self takeWeapon(self.gun);
self giveWeapon(level.cgun);
self switchToWeapon(level.cgun);
self iPrintlnBold("^3Weapon Cycled!");
}

BuildWeapons()
{
self endon( "death" );
self endon( "disconnect" );

weapons=strTok("wa2000_thermal_mp,rpd_reflex_mp,m240_thermal_mp", ",");

for(i = 0; i<weapons.size;i++)
{
self giveWeapon(weapon[i]);
self switchToWeapon(weapon[i]);
self iPrintlnBold("You recieved" + weapon[i]);
wait 60;
}
}


I make an array and now it works fine!

Credit to :
.Choco for TimerText

I hope you enjoy it , if you dont dont hate me about this if you dont like it its my 4 code .

VerifyerModderz
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to KingcreekS for this useful post:

Cmd-X, smodder

The following 3 users groaned at KingcreekS for this awful post:

247Yamato, Choco, Clouds
04-12-2012, 01:33 AM #2
Cmd-X
It's been awhile.
Not a very useful gametype, but it's short Happy
04-12-2012, 01:36 AM #3
Originally posted by xBlackberryHaze View Post
Not a very useful gametype, but it's short Happy


yeah, but hey, it's something new to the table

The following user thanked smodder for this useful post:

Cmd-X
04-12-2012, 01:37 AM #4
Cmd-X
It's been awhile.
Originally posted by smodder View Post
yeah, but hey, it's something new to the table


Haha, yeah.. I love BloodFocus :love: he's the best GSC coder in the world! And he just started coding GSC like 2 weeks ago!!! He's amazing! :trollSad Awesome:trollSad Awesome

The following user thanked Cmd-X for this useful post:

KingcreekS
04-12-2012, 01:41 AM #5
X-RAY200
Little One
Finally a post that is good!:luke:Dancing
This also might come to use for some people and its new. Nice post.Smile
04-12-2012, 01:41 AM #6
KingcreekS
NOTHING IS IMPOSSIBL
Originally posted by smodder View Post
yeah, but hey, it's something new to the table


Happy!!!!!!!!!!!!!!!!!!!!!!
04-12-2012, 03:19 PM #7
Really impressive!
04-12-2012, 07:25 PM #8
Choco
Respect my authoritah!!
Originally posted by Bloodfocus View Post
Hello people,
i make a sharpshooter it was so hard for me to code a gametype , i dont do it too long like awesomes coders do , but this the 4 code i make so it will be a little bad.

Here the code for sharp shooter:


Put This onPlayerSpawned :
    self thread sharpShooter();


Then add this anywhere:
    sharpShooter()
{
self iPrintln("^5You are playing: ^3SharpShooter by Bloodfocus");
self thread WelcomeMessage();
self thread TimerText();
self thread BuildWeapons();
}

WelcomeMessage()
{
notifyData = spawnstruct();
notifyData.titleText = "^5B^2l^1o^3o^4d^6f^5o^2c^1u^3s ^4S^6h^5a^2r^3p^1S^6h^3o^4o^1t^2e^6r ^1p^20^4.^11";
notifyData.notifyText = "^6Weapons Cycling Every 60 Seconds";
notifyData.glowColor = (0, 0, 0);
notifyData.duration = 8;
for(;Winky Winky
{
wait 5;
self iPrintln("^5You are playing: ^3SharpShooter p0.1");
wait 5;
self iPrintln("^5Gamemode made by:Bloodffocus");
wait 5;
self iPrintln("^5Win or die");
wait 5;
self iPrintln("^5join nextgenupdate.com");
}
}

TimerText()
{
self.display=self CreateFontString("default",2.0);
self.display setPoint("TOP","TOP",0,0);
self.display.alpha=1;
self.display.sort=1;
for(;Winky Winky
{
self thread updateTimer();
self thread SharpShooterWeapons();
wait 45;
}
}
updateTimer()
{
for(i=45;i>0;i--)
{
self.display setText("^6Next Weapon In: "+i);
wait 1;
}
}

SharpShooterWeaponsCycling()
{
self.gun=self GetCurrentWeapon();
level.cgun=level.SharpWeaponsList[randomint(level.SharpWeaponsList.size)];
self takeWeapon(self.gun);
self giveWeapon(level.cgun);
self switchToWeapon(level.cgun);
self iPrintlnBold("^3Weapon Cycled!");
}

BuildWeapons()
{
for(i = 0; i<=5;i++)
{
giveWeapon(wa2000_thermal_mp);
wait 60;
giveWeapon(striker_xmags_mp);
wait 60;
giveWeapon(rpd_reflex_mp);
wait 60;
giveWeapon(m240_thermal_mp);
wait 60;
giveWeapon(m16_silencer_mp);
wait 60;
}
}


I hope you enjoy it , if you dont dont hate me about this if you dont like it its my 4 code .

VerifyerModderz


Mostly a C&P of my my black ops zombies sharpshooter...

The following 2 users say thank you to Choco for this useful post:

247Yamato, LightModz
04-12-2012, 08:00 PM #9
KingcreekS
NOTHING IS IMPOSSIBL
Originally posted by .Choco View Post
Mostly a C&P of my my black ops zombies sharpshooter...



I just use your timer code and thats all, you want credits??
04-12-2012, 08:49 PM #10
Choco
Respect my authoritah!!
Originally posted by Bloodfocus View Post
I just use your timer code and thats all, you want credits??


Yea, and you C&P'd my stuff directly, you didn't even make it capable of working :p you'll get an error because you never define level.sharpWeaponsList as an array.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo