Jump to content

script Časomíra (Závod)


DeLeTeCZ

Recommended Posts

Časo Míra


 


Zdravím, chtěl bych vám představit můj nový script.


Tento script vám umožní nastavit hráči časomíru na vámi vytvořený


úsek mapy ( /ccp 0 - Start | /cpp 1 - Cíl )


 


Obsahuje:


-Vytvoření úseku mapy (RCON).


-Vytvoření časomíry (RCON)


 


Příkazy:


/ccp ( 0 Start | 1 Cíl ) Vytvoří start a cíl.


/casomira ( Player ID ) Vytvoří danému hráči časomíru.


/endc Zruší časomíru.


/ccredits Info o scriptu.


 


Návod:


1) Casomira.amx nahrajeme do složky filterscripts

2) Zapíšeme do server.cfg vedle filterscripts "Casomira" (bez uvozovek)

3) Restartujeme server nebo ve hře napíšeme /rcon laodfs Casomira

4) Vytvořit závod a jet :)

 

Screeny:

 

Screen_1.jpg

 

Screen_2.jpg

 

Screen_3.jpg

 

 

DOWNLOAD

Link to comment
Share on other sites

format(str,sizeof(str),"%s%d:%d%d",(Sekundy < 10) ? ("0") : ("")
stačí

 

"%02d",Sekundy

a ak bude sekundy menšie ako 10 tak automaticky tam pridá tú 0... 04, 05, 06....

 

 

http://prntscr.com/3y9lbd

code

printf("%02d, %03d, %04d, %05d",8,8,8,8);

Aha dík :d

Link to comment
Share on other sites

  • 2 years later...
  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...