[HELP] Fix method random_num
What is the best method to do this?
Sometimes the hudmessage not appear but the sound works. Code:
|
Re: [HELP] Fix method random_num
If you only use any variable one time, it is make no sense to create it!
Put it directly new rand = random_num(1,3) switch(rand) To switch(random_num(1,3)) |
Re: [HELP] Fix method random_num
Yes is only in player spawn.
Well i've putted "," and i think now is working. Code:
|
Re: [HELP] Fix method random_num
That is common with HUD messages because they can easily be removed by other plugins or even the game itself without ever showing your message.
|
Re: [HELP] Fix method random_num
Ah ok fysiks, so it's normal?
|
Re: [HELP] Fix method random_num
Set Channel to -1 and try again.
|
Re: [HELP] Fix method random_num
Shooting_King: This?
Code:
|
Re: [HELP] Fix method random_num
Quote:
You should know that you cannot display more than 4 hud's at the same time. |
Re: [HELP] Fix method random_num
Sure and when player spawn happen i dont have any hudmessage.
If you look to the code you see that are 3 hudmessages but only one is randomly chosen. So what Shooting_King says is: Code:
The -1 have the same value as 0? Cause i need this message appear to all players. Edit: With -1 nothing appears. |
Re: [HELP] Fix method random_num
Quote:
|
| All times are GMT -4. The time now is 06:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.