• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] warning 239: literal array/string passed to a non-const parameter
#1
SendRconCommand("exit");



This is inside a mysql connection code where if failed to connect then rcon exit.



I don't want to disable the warning, how can i fix this properly?
  Reply
#2
https://github.com/pawn-lang/sa-mp-fixes



That include does (should do) the trick
  Reply
#3
(2021-07-16, 12:08 AM)Kwarde Wrote: https://github.com/pawn-lang/sa-mp-fixes



That include does (should do) the trick



Many thanks.
  Reply


Forum Jump: