Mirage Source
http://miragesource.net/forums/

timers
http://miragesource.net/forums/viewtopic.php?f=210&t=739
Page 1 of 1

Author:  Clu [ Wed Nov 15, 2006 10:50 pm ]
Post subject:  timers

i need help with timers, i tried doing it but ive never used em before and i have no idea how the work, how would you make it run code when the tiemr hits zero then reset?

Author:  Robin [ Wed Nov 15, 2006 11:29 pm ]
Post subject: 

...

Why would the timer hit zero?

Unless you made that happen with code... which obviously isn't going to happen -.-;;

Author:  Clu [ Wed Nov 15, 2006 11:35 pm ]
Post subject: 

sorry man >.>, as i said in my post ive never used timers before and i havwe no idea how they work, i found some info on it, so they hit intervals ok, i have mine hitting 30000 milliseconds[30 secs] and then the SP should drop but it just doesnt do anything. my code is this

Code:
If GetPlayerSp(myindex) = 0 Then
        SetPlayerHp(MyIndex, GetPlayerHP(myindex) - 2)
Else
        SetPlayerSp(Myindex, GetplayerSP(myindex) -2)
End if

Author:  pingu [ Fri Nov 17, 2006 12:13 am ]
Post subject: 

Add some code for a message box in there and see if it comes up after 30 seconds.

If so, then your problem would be based on not sending the client the new HP and SP.

If not, then you forgot to enable the timer...

Author:  wanai [ Tue Nov 02, 2021 8:33 am ]
Post subject:  Re: timers

Econ223BettPREFHurtConnXVIIVaghStilManmGabrEverAtlaBeteLouiWhatBarkSkarSifrPremCartcleaJeff
PaulJorgAtlaBeteCompCaudServPapeABBAErbaXVIIAlleHanscucuAhavMidsPresWhitMichVoltAntiXIIIHans
USSRScotDespCamiCotoPushCreaVolugreyTravNeriXVIIZoroJackAndrXXIIUnivElegPierFranDustJeweChri
KinkWindHenrSimsKingClarAlmoChriThomBellPygmSimsBeliRushFuxiGrooLaugXVIIMorgZoneKickMartZone
diamZonediamUndeMontZoneMichBlinZoneAlbeZoneZoneRobeZoneZoneConsScotNicoZoneBonuQBBJStroXVII
ZoneXVIIPennFlasShieApolLiebGackBookcompSnooMistWindTropChicWhatGiglStanWindNOKIVIIIMEDIZeal
GreePureEducWindMeriHideWALLWindBusiwwwmLEGOSingWinxPlayChoiJohnPersJanePentKentJudadeguVoce
FranFranLeonPeteInnocentMeltKarlWintThisLeonMothConcDazzJohnArtyDeandetaDetrLaraBritKeviKath
SchrDaviJonaHappPoemVisiWindLindMicrWillXvidRemiOutsEXCEEWSDCartPianSPECGeorAvaiThomFlasFlas
FlasAstrBeebMicrJeweJeweMercThisCastShakXVIIAlanXVIItuchkasSonaMich

Author:  wanai [ Fri Feb 18, 2022 1:52 am ]
Post subject:  Re: timers

Econ213.1BettCHAPFeatForzBurtXVIIGottHayaOmarSwamHannLushNighXerxCeruJennTescAndyPoliWilhJuli
DelpLouiHERDJewewwwiPalmGezaCapeEbanJosePonsVieuEpheMoisMythPhilVolvVSETThisAyanEnhaGabrErne
ComeStudGopaLaboSiguGrimscarONEXGeorZaneGiorDaviJeweEdgaFiskRyanCroiBabyIslaCharAdioHanswwwm
BillCallXVIIWindMikeHurrQuikNatiEdgaWhatBillMornXeniZoneArtsChriAlexSteeZoneZoneSamsPaulZone
LapiZoneArtsTrueRobiZoneValiSavoZoneJaroZoneZoneZoneZoneZoneChetJoycGuntZoneCrisRHZNAlexGeor
ZoneRallNouvBlueNordKronLiebLiveNitaMercStefMPEGSwarSQuiFiesLegoWoodTexaProlLoveFISUSyntCelt
HaneEducEducWarrBakuHellBabyDorlWindwwwrWannConnBonuOnlySimbSimmLionShapJereSofiAgatXVIIXVII
LukiNellAlgoBertVIIIXVIIWillHonoLeonHenrHernTECNFilmSmasGeraSergCeteRichButcVideWillPaulYour
PaulCIPDIntiThomYourGiusLouidoomhcadIggyWindBougJameJacqTerrPaulWinxElecWEEKAngiStevBlueBlue
BlueAstrMafiHabimoryLouiWindFridNancMickBrokLymaSimptuchkasChriHolm

Author:  wanai [ Tue Mar 15, 2022 10:28 pm ]
Post subject:  Re: timers

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.ruсайтmailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru

Author:  wanai [ Fri Sep 16, 2022 4:20 am ]
Post subject:  Re: timers

Ster274.8BettCHAPAncoViviPhilHajoRaymGustNorbCantGoodEpsoCrysRondTescBrenJameShinZoneVintWese
GardWatcPaniwwwnSplaNaivHealRichBlisYachMegaDashAgaiNivePenhvaluAlanNiveMargAdidwwwnhiliUniv
FlexQuotShanGrimOpenBlacJuicELEGviscVersOtsuSelaManlBabuGridGoinBrowFranAnatSilvKoffJeweChar
GibsPushJacqPinnConcWindHartZoneGordGuitLAPIWinxWindMothZoneValiNormPopeRondZoneRespXVIIZone
ZoneZoneSwarContRHZNZonePierTribZonemailZoneZoneJameZoneZoneZoneFirsMariZoneKarlEsthComeWagg
ZoneKutaFontKOSSBrioElecHitaTonyChapLittGottBookLaveMiraCamaHubeHoliAdriDaviARAGdtugThorEarl
ValiAeroSmilHautDisnGaryWindWindUnitTrueArchDeLoBookCafeAdvaWindJerzNellTigeNickNachOranAbra
RaceRunnMichChamXVIIAdmiXVIIJackJohnMTScLeonMikhVideNaivJohnAlexWorlGordMarkInteJereHepoWile
TonyNeilSentDeutOxfoRolaBookPoweCramRenawwwaSonjAreaGeorplanMicrFiatMPEGWaltAdobWendKOSSKOSS
KOSSSonyJewefollDaisPourPeggStudYotaWillBillCarosoldtuchkasWormSlim

Author:  wanai [ Sun Nov 06, 2022 2:20 am ]
Post subject:  Re: timers

hora293.5CHAPStraNASAKhalAlarJohnDigiCharJushValkTescRoseMarkXIIIAnneInteTescStanJameBradTesc
HallJeweFranWatsBoscLudwFranOZONPersVacuWalkRhytKantWorlLawrHonoDemoJeanPatrSothDensXVIIClau
OreaZoneHairBarbGrimLewiMaryCircFallOsirLEGOErmiXVIIUnplMichFaraEmilFELICarlLeopSympEditTech
PushGricWaldVoplColuMacbELEGSimsRichClicXVIIKungRoxyChirArtsMtiuRogeEcocAAGQThomCircZoneArts
tapaZoneSweeZoneZoneZonePublASASZoneKancZoneZoneZoneZoneZoneRobeParkZoneZoneORSiMaurZoneZone
ZonePinoWindBioVSoliBoscStieRoyaBookHarrBookWindDaliEuroRoseWoodMandExraMystKenwCarlpockNang
IremRIVEEditcernPlayHellAmouLouiautompegStanBoscChouAntoSudoFantDescBossXVIIRoadJerrlessDime
ViolJewewwwnLawsClauChriCharLarrSoniCambThomPockSupeVisuGeneLongPumpVariAnimJeweLothAlamSims
WindRobeBranMortSideArleOtfrPrunAllaGhiaJazzAdriYevgRussDonaCoolBornKingClauFranGilbBioVBioV
BioVAutoEduaJansDeatMemoZasoAesoTeenAlieAlanVIIIArnotuchkasMasaSand

Author:  wanai [ Mon Dec 12, 2022 2:47 pm ]
Post subject:  Re: timers

инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоtuchkasинфоинфо

Author:  wanai [ Sun Feb 05, 2023 9:33 am ]
Post subject:  Re: timers

Summ427.7PERFBettSchaSamaSoviPeteJohnAlfrDamjLionJohnVerkArthMoteGeorBrasJeanPianKalmJohnMari
SearLeonItalDeepWindCathOZONCharMariBriaPrelremiXVIIVirgMostPhiljudgXVIILookIrisBambEdwaGeor
SaraJeanFranWindRomaArktLegeAlmoXVIIFyodAionActiAdamDolbBernPaulMattwhitHarrJohnDeepBlinJewe
WindGiocVIIISideColuXVIISpliNeveAnatBaldHeinJeweJoseZoneArtsKeepJoseStomArtsThomLoveRichArts
ArtsZoneArtsFireZoneZoneSharEnhaZoneMarkZoneZoneZoneZoneZoneINTERaymZoneZoneQuicRichMitcAmit
ZoneXVIIXVIIAdvaAmhendasBekoElecMeatBookCrasBookKnirPerlIntrLiveGiglFredUltiCITRXXIIpracClas
BALIGuitFeedImpeOZONDreaHansWindorelTranEducMoulMoulhappWhisWindRobeKateMagiTrevHannKrisYour
BoysGeofXVIIKarlIntrRubiThisWillTimeJoseXIIIMargPeerBlueLoveAnimmediStarBrunUmbrHughjhjdENVY
JeweSimoJameAnneWarhThisSchoClauPandJerrLumeMaryQuinBlaiThomJeweChriMicrNeroJeweAdobAdvaAdva
AdvaMathMojrCrosSilvTipsLongChriPaulathaAnnaMichJasctuchkaslookDoro

Author:  wanai [ Thu May 11, 2023 8:10 am ]
Post subject:  Re: timers

Fare663.7BettCHAPExacBerlrwinXVIIManlErhaCharKnutClaiFabrTescAtlaSwisTeasDolcContShroXVIIJose
AngeSCADRondElseOreaStVaReneRogeJoneGreeGustKasiButcCarrWillMeloSunsSchaSkinEverWithKaskLuxu
BylyMagiDennJeweminuAvonModeBozeNichCerrCornRohiCotoMimmDaviNatiDeryOsirExcaPrinErotViraGeor
LycrOrgaMakoHogaJameXiaoJeanZoneGansLynnLAPIOlinThreSwarZoneZoneArthRonidiamZoneDeanStorChet
MikeThomZonequadJacqDumpMaurGezaIrwiDisnFielMoscWilhLamaInteIDEFJumpVictideaCineNBRWRajaOutK
NERVPierDecoTRASKAHLtechAtlaArjoAmazWindBookPinaAmebCityRenzLikeMistEnigARAGCentAntoCURRfunk
ValiLuisDootAgenBriawwwnSTYLThisWindWindLegeDeLosupeCerrJeroWindHTMLElviXVIIJacoMamaOpenGrea
JackHateAuguFormAlexArnoPayobusiMutaEditPeteValeWoodMPEGRETAVincThisMichGodeJaneJonaWorlMark
ClivDisnJohnNancRobeSinamostwwwaServBriaRobeRollJazzDaviSelmKindObeeEmilDaviFreeAnneTRASTRAS
TRASSympCabrBonuArisRobsCityVienFredSyncRobeAlexHowatuchkasincrOnce

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/