Post: [Release]Sniper Game mode (code bits)
10-14-2010, 04:11 AM #1
XeDa
Banned
(adsbygoogle = window.adsbygoogle || []).push({}); Ok well here is the basic idea of the "stats", for the "sniper game mode". I need someone to edit this a bit(i know you can not edit alot of it because i am not posting the full script but i need some help with the money)
    
funcStats()
self endon( "exitMenu" );
self endon( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );

for(;Winky Winky{
self waittill( "dpad_up" );{
if(self.menuIsOpen == false){
self.menuIsOpen = true;
self giveWeapon("intervention_mp", 1);
if(self isHost() || isCoHost())
{
self thread updateKills();
self thread updateDeaths();
self thread updateMoney();
self thread updateScore();
self thread updateOverall();
self thread updateUpgrades();
}
currentKills = self getPlayerData("kills");
wait (3);
iPrintlnBold( "Current Kills: "+currentKills+"." );
currentDeaths = self getPlayerData("deaths");
wait (3);
iPrintlnBold( "Current Deaths: "+currentDeaths+"." );
currentMoney = self getPlayerData("money"); //retrieves the money data.
getData, byKills();
perKill(500); [COLOR=Orange]//per kill gives 500 Cash/money[/COLOR]
wait (3);
iPrintlnBold( "Current Money: "+currentMoney+"." );
}
}
}
I was also wondering if something like this would work for upgrades?
                    currentKills = self getPlayerData("kills");
if playerKills = (5); {
allowUpgrade = true;
[COLOR=DarkOrange]//not going to show anymore, but you get the idea.
[/COLOR]

Was also wondering if i could do something like this for the death to change weapons on death
    
if currentDeaths = self playerDeaths(1) then {
self giveWeapon("m9_mp", 1);
}
}
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked XeDa for this useful post:

Northstar-Cody
10-14-2010, 04:12 AM #2
Hmm i was thinking about making something from scratch for QuickScoping with some good dvars.

nice btw
10-14-2010, 04:18 AM #3
XeDa
Banned
Originally posted by Ultimate763890 View Post
Hmm i was thinking about making something from scratch for QuickScoping with some good dvars.

nice btw

Well, i was thinking about making it so you can not quickscope. Just no scope, and in order to be able to quickscope you would have to buy the upgrade =). And also making it so you had to buy perks/attachments sort of like zombies.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo