Author Topic: !hosttime for squirrel !!! (created by [LP]Castagna)  (Read 6137 times)

0 Members and 1 Guest are viewing this topic.

Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
!hosttime for squirrel !!! (created by [LP]Castagna)
« on: April 26, 2011, 11:33:51 pm »
 Hi guys , well today I will share this useful comand for squirrel by me  :) .This command give you the total time(expresed in minutes) , that your server has been hosted , or turned on...
 
very simple  ;D

Quote
 }
     if ( cmd == "host" )
     {
          MessagePlayer( "The server has been online for" + floor( GetTickCount() / 60000 ) + " minutes.", player );
     }

« Last Edit: April 27, 2011, 06:27:31 am by StriKe »
Castagna - EA Founder


Offline BIG[H]

  • Made Man
  • ***
  • Posts: 159
  • Sight of light
    • View Profile
Re: !hosttime for squirrel !!! (created by [LP]Castagna)
« Reply #1 on: April 27, 2011, 05:42:43 am »
floor or float

fix it Babe



          MessagePlayer( "The server has been online for" + floor( GetTickCount() / 60000 ) + " minutes.", player );


New hosting !
Outdoor city server Administrator, FS server owner!

Offline stormeus

  • VC:MP Developer
  • VC:MP Veteran
  • *
  • Posts: 1122
    • View Profile
Re: !hosttime for squirrel !!! (created by [LP]Castagna)
« Reply #2 on: April 27, 2011, 02:08:44 pm »
floor or float

fix it Babe



          MessagePlayer( "The server has been online for" + floor( GetTickCount() / 60000 ) + " minutes.", player );


New hosting !


Actually, floor() is a valid function in Squirrel. It means to round down to the nearest whole number. Anyways, good job, Castagna!
Do not PM me for support.




Offline BIG[H]

  • Made Man
  • ***
  • Posts: 159
  • Sight of light
    • View Profile
Re: !hosttime for squirrel !!! (created by [LP]Castagna)
« Reply #3 on: April 27, 2011, 04:27:09 pm »
Yes i Forgot About it ... thanks for Reminder  :P
Outdoor city server Administrator, FS server owner!

Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: !hosttime for squirrel !!! (created by [LP]Castagna)
« Reply #4 on: April 27, 2011, 08:04:22 pm »
yea it works lol  ;D
Castagna - EA Founder


Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs

Offline BIG[H]

  • Made Man
  • ***
  • Posts: 159
  • Sight of light
    • View Profile
Re: !hosttime for squirrel !!! (created by [LP]Castagna)
« Reply #6 on: April 28, 2011, 07:44:06 pm »
TROLL
Outdoor city server Administrator, FS server owner!

Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: !hosttime for squirrel !!! (created by [LP]Castagna)
« Reply #7 on: April 28, 2011, 08:10:01 pm »
copy & paste ? lol  i created no stealing
i didn't see that example thijin O.O . totally coincidence
« Last Edit: April 28, 2011, 08:40:41 pm by StriKe »
Castagna - EA Founder


Offline tato

  • Made Man
  • ***
  • Posts: 106
  • I bet u don't know me!
    • View Profile
    • EA Server
Re: !hosttime for squirrel !!! (created by [LP]Castagna)
« Reply #8 on: April 29, 2011, 01:50:33 am »
do you copied castagna? X_X

Offline Venkat

  • Street Thug
  • *
  • Posts: 11
  • ULK, Bitch.
    • View Profile
Re: !hosttime for squirrel !!! (created by [LP]Castagna)
« Reply #9 on: April 29, 2011, 05:29:52 am »
do you copied castagna? X_X

isnt it obvious ?

Offline Madara

  • Street Thug
  • *
  • Posts: 48
    • View Profile
Re: !hosttime for squirrel !!! (created by [LP]Castagna)
« Reply #10 on: April 29, 2011, 06:42:31 am »
Copy & paste, no coincidence since you knew about squirrel wiki

Offline BIG[H]

  • Made Man
  • ***
  • Posts: 159
  • Sight of light
    • View Profile
Re: !hosttime for squirrel !!! (created by [LP]Castagna)
« Reply #11 on: April 29, 2011, 12:13:17 pm »

xDD
Outdoor city server Administrator, FS server owner!

Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: !hosttime for squirrel !!! (created by [LP]Castagna)
« Reply #12 on: April 29, 2011, 08:19:51 pm »
omfg , if i had taken the commando from squirrel wiki , i would't post here -.-
Castagna - EA Founder


Windlord

  • Guest
Re: !hosttime for squirrel !!! (created by [LP]Castagna)
« Reply #13 on: April 30, 2011, 01:42:02 am »
Hello (Pawn / Squirrel) Scripter BIG[H],

floor or float

float does not exist.
(In case anymore "(Pawn / Squirrel) Scripter"s get confused)

Offline BIG[H]

  • Made Man
  • ***
  • Posts: 159
  • Sight of light
    • View Profile
Re: !hosttime for squirrel !!! (created by [LP]Castagna)
« Reply #14 on: April 30, 2011, 10:52:01 am »
Hello (Pawn / Squirrel) Scripter BIG[H],

floor or float

float does not exist.
(In case anymore "(Pawn / Squirrel) Scripter"s get confused)

Yea That a Really ******* Situation and some Time i use SendClientMessage() instead of Message() In Squirrel ...Then i got confused What Happened to my Script and player.Team is Bugged That's why .... I can't Make a Function of Balancing Team
Outdoor city server Administrator, FS server owner!