Reporting blank in logs?
Code:
I know im doing this wrong somewhere, I am having a huge brain fart. I think it needs to be in a array but im lost. get_playersnum(1) is suppose to return a native ? 1 i know returns players that are connecting also. I figured out that I had to convert it into a string. so I added the following things into that snippet above and the log_amx function finally logged a number instead of a blank! new currPlayerCount[3] num_to_str(currentCSPlayers, currPlayerCount, 2) |
Re: Reporting blank in logs?
I don't understand well what you ask but 'get_playersnum()' return an integer.
So it should be ' %i ', not ' %s '. |
| All times are GMT -4. The time now is 01:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.