Why are variables not getting filled?
Hi, the variables to show for the set_hudmessage are not filling or something. In game the hud message is showing where the variables should be with all 0's. I put all of this in a prethink and it worked fine but I don't want it there.
Code:
|
Re: Why are variables not getting filled?
you aren't passing any player id's into the function
|
Re: Why are variables not getting filled?
How am I supposed to pass it with a set_task?
|
Re: Why are variables not getting filled?
Code:
|
Re: Why are variables not getting filled?
Code:
public my_loop() |
Re: Why are variables not getting filled?
Quote:
Quote:
Setting 0 to id gave me errors too. |
Re: Why are variables not getting filled?
He gave you a code snippet, in the hopes that you would edit it, not completly use it as it.
|
Re: Why are variables not getting filled?
Quote:
|
Re: Why are variables not getting filled?
Ok I spent a few moments playing with the code they gave you, I don't know for sure if this code will work, but it compiled with no errors. I cannot try it out right now.
I suspect that it will work just fine :up: MY VERSION: Code:
|
Re: Why are variables not getting filled?
PHP Code:
|
| All times are GMT -4. The time now is 04:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.