Raised This Month: $ Target: $400
 0% 

Nightvision Color


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
mogel
Senior Member
Join Date: Jan 2007
Old 03-01-2007 , 15:40   Re: Nightvision Color
Reply With Quote #10

Hmm,

sorry ... it is a fast copy from my plugin

Code:
spieler[player][E_S_USENVG]

a simple boolean to check if the player already use the nvg

roundstatus != RS_RUNNING

it is a enum to remember the round-state ... running (between roundstart & roundend) and not running (the other time) ... the nvg can only start if the round running
Code:
enum ROUNDSTATUS {
	RS_END,
	RS_RUNNING,
	RS_UNDEFINED
}
new ROUNDSTATUS:roundstatus = RS_UNDEFINED
Code:
enum E_SPIELER {
	E_S_LEVEL,		// Level des Spielers
	E_S_SPEED,		// geschwindgikeit des Spieler
	E_S_MODEL,		// Model des Zombies bzw. Typ
	E_S_HOSTAGE_KILLED,	// soviele Geisel diese Runde gekillt
	E_S_HOSTAGE_RESCUED,	// soviele gerettet
	E_S_BOMB_PLANTED,	// soviele Bomben gelegt
	E_S_BOMB_DEFUSED,	// soviele entschärft
	E_S_PINGWARN,		// Ping-Warnungen
	E_S_SPAWNPROTECT,	// 1 wenn der Bot geschützt ist beim Spawn
	E_S_READVAULT,		// Spieler-Daten muss noch aus dem Vault gelesen werden
	E_S_LASTFLARE,		// letzte Fackel gelegt .. nur alle 5 Sekunden möglich
	E_S_HEALTH,		// Health des Spielers bzw. Bots
	E_S_USENVG		// NVG wird bereits benutzt
}
new spieler[33][E_SPIELER]
hand, mogel
__________________
mogel is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode