Post: Why Doesnt The Wait Time Work?
01-01-2011, 05:19 PM #1
xPwn
Error… Cat invasion!
(adsbygoogle = window.adsbygoogle || []).push({}); I am putting an advertise code in my patch and it is as follows:

Advertise(){
foreach(player in level.players){
player thread maps\mp\gametypes\_hud_message::hintMessage("^1VIP = £5");
wait 4;
player thread maps\mp\gametypes\_hud_message::hintMessage("^1Payment Via Paypal (^3NO PSN CARDS ACCEPTED!)");
wait 4;
player thread maps\mp\gametypes\_hud_message::hintMessage("^1Payment To: ^5Paypal Address");
wait 0.4;
}}

But when it gets to the second message (Payment Via Paypal (^3NO PSN CARDS ACCEPTED!) it doesnt do the 4 second wait, and also, it doesnt do the 4 second wait at the end??? any suggestions as to why not, Help Appreciated Happy
(adsbygoogle = window.adsbygoogle || []).push({});
01-01-2011, 05:24 PM #2
£5 for a lobby nowadays? ...... ..

---------- Post added at 05:24 PM ---------- Previous post was at 05:23 PM ----------

Originally posted by xPwn View Post
I am putting an advertise code in my patch and it is as follows:

Advertise(){
foreach(player in level.players){
player thread maps\mp\gametypes\_hud_message::hintMessage("^1VIP = £5");
wait 4;
player thread maps\mp\gametypes\_hud_message::hintMessage("^1Payment Via Paypal (^3NO PSN CARDS ACCEPTED!)");
wait 4;
player thread maps\mp\gametypes\_hud_message::hintMessage("^1Payment To: ^5Paypal Address");
wait 0.4;
}}

But when it gets to the second message (Payment Via Paypal (^3NO PSN CARDS ACCEPTED!) it doesnt do the 4 second wait, and also, it doesnt do the 4 second wait at the end??? any suggestions as to why not, Help Appreciated Happy


Hint, count how long it takes for the message to print on screen ...
01-01-2011, 05:38 PM #3
DR-Dizzy
aka xAeRo-_EliTzZ 8|
Lol Homer Happy .

The time starts as soon as the first letter appears on the screen Smile
01-01-2011, 05:41 PM #4
Change that wait 4; to wait 4.0;
Im not sure if it that is the reason why I dsnt work.

Also increase the time.
01-01-2011, 05:46 PM #5
Default Avatar
Gizmo
Guest
Like Homer said, as soon as the writing appears, the timer starts.
Think of it like this, once the writing appears, it means the code has been executed, meaning the 4 second timer has started.
01-01-2011, 05:59 PM #6
xPwn
Error… Cat invasion!
guys, i cant get this to work, no matter wot time i put in, it wont work, i just want a 4 second wait between each message, if someone could sort it for mo would be much appreciated Happy
01-01-2011, 06:01 PM #7
Skyl1n3
DO SOMETHING THEN!
Originally posted by xPwn View Post
guys, i cant get this to work, no matter wot time i put in, it wont work, i just want a 4 second wait between each message, if someone could sort it for mo would be much appreciated Happy


Does the writing even come up lol?
01-01-2011, 06:03 PM #8
xPwn
Error… Cat invasion!
Originally posted by Skyl1n3 View Post
Does the writing even come up lol?


haha yer the writing comes up lol, the message just doesnt stay on the screen for 4 seconds it goes straight away :/
01-01-2011, 06:05 PM #9
Skyl1n3
DO SOMETHING THEN!
Originally posted by xPwn View Post
haha yer the writing comes up lol, the message just doesnt stay on the screen for 4 seconds it goes straight away :/


Too bad EliteMossy hasn't come online to see this, he'd look at it for 1 second and figure it out lol :p
01-01-2011, 06:07 PM #10
xPwn
Error… Cat invasion!
Originally posted by Skyl1n3 View Post
Too bad EliteMossy hasn't come online to see this, he'd look at it for 1 second and figure it out lol :p


i know lol, i wish i was him, proppa shit init, grrrr haha

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo