Showing Not Ready
I have a mode that checks if someone is ready or not (you'll see the variable that shows it, g_IsReady), the problem is, that it shows maximum 3 or 2 players that are not ready in the server, and sometimes it doesnt show the name fully, so if my name would be Diegorkable, it would show Diegorka or something like that that is my name and not fully, so it displays just a part of my name, I tried making the variables with [2000] many cells available so it'll let it copy, but still it doesnt, wierd, check the code tell me if you see something please. The Public ShowLeft() refreshes every 1 minute in order to check if he did .rdy or not
PHP Code:
|
Re: Showing Not Ready
get_user_name(tempid, playername, 31)??
new toadd[32] = "^n" ?? |
Re: Showing Not Ready
It gets if the player is not ready (if g_bIsReady is false) then it copies his name into a variable (playername) and adds to it a ^n, so if my name would be "Diego" then it adds it to it "Diego^n", The reason I wanted to do this is that the Not Ready will be a column, list.
Can't hudmessage be a column? |
Re: Showing Not Ready
Are you not getting index out of bounds errors?
The first thing I can see is that this: new bool:g_bIsReady[11] needs to be new bool:g_bIsReady[33] because you need to hold every player index (1-32). Try this: PHP Code:
|
Re: Showing Not Ready
Show us the whole code, else we can't help you.
|
Re: Showing Not Ready
You don't need the whole code, the rest of the code is that it refreshes that public through a recursive public.... thats all. and nikhilpug..qt13-15813681-36 ill test your code
|
Re: Showing Not Ready
i think it works great :) tyvm
|
| All times are GMT -4. The time now is 00:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.