Reading from file error
Whenever I try using this code I wrote to read from a file and then randomly pick a line (map) from that file, it doesn't work. I tested it and whenever I use the command it always displays "[AMXX] Denied Command Access: 'amx_map_random'!"
PHP Code:
|
Re: Reading from file error
Well... that print is executed every time eventChangeMap is called, it's not inside any conditional.
|
Re: Reading from file error
PHP Code:
|
Re: Reading from file error
Its the same if i don't use ";" or don't use it?
In C++ is required but in the .sma default plugins did not appears. |
Re: Reading from file error
Quote:
|
Re: Reading from file error
In Pawn, semicolons are not required unless "#pragma semicolon 1" is at the top of the plugin.
|
Re: Reading from file error
Nice example, btw can you show example without Arrays?
|
Re: Reading from file error
Bad_Bud: Woops, I put it in the wrong brackets.
Mxnn: I've scripted C++ before and Java, so for me it's a habit that is not good to break. Exolent[jNr]: Ahhh, thank you! |
Re: Reading from file error
Quote:
Code:
|
Re: Reading from file error
I'm confused with those arrays
thanks Quote:
|
| All times are GMT -4. The time now is 14:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.