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, 08:56 PM #11
KingcreekS
NOTHING IS IMPOSSIBL
Originally posted by .Choco View Post
Yea, and you C&P'd my stuff directly, you didn't even make it capable of working you'll get an error because you never define level.sharpWeaponsList as an array.


Dont hate bro im not a proffecional , can you say me what to do for make it work plz?
04-17-2012, 04:04 AM #12
Clouds
Error 404: Title Not Found
Originally posted by Bloodfocus View Post
Dont hate bro im not a proffecional , can you say me what to do for make it work plz?


/facepalm
Listen, Bloodfocus. If you're going to create a gametype, do it on your own. If you want to adapt a gametype from someone else's code, give them credits and make it work. Don't call it your game mode if you didn't make anything important. If you ever need help with making anything, I'm up to help you.
04-17-2012, 09:58 AM #13
KingcreekS
NOTHING IS IMPOSSIBL
Originally posted by Clouds View Post
Listen, Bloodfocus. If you're going to create a gametype, do it on your own. If you want to adapt a gametype from someone else's code, give them credits and make it work. Don't call it your game mode if you didn't make anything important. If you ever need help with making anything, I'm up to help you.


im trying to say you that a long time ago , but i think you wont listen me .If you can help add me in skype : lucas.trigo1

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo