(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
---------- Post added at 05:24 PM ---------- Previous post was at 05:23 PM ----------
Originally posted by xPwn
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
Hint, count how long it takes for the message to print on screen ...
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.
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
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