Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] warning 239: literal array/string passed to a non-const parameter

 
  • 0 Vote(s) - 0 Average
Pawn warning 239: literal array/string passed to a non-const parameter
Ambarita
Offline

Burgershot Member
Posts: 6
Threads: 3
Joined: Apr 2021
Reputation: 0
#1
2021-07-15, 11:55 PM
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?
Kwarde
Offline

Burgershot Member
Posts: 99
Threads: 2
Joined: Sep 2020
Reputation: 8
Location: The Netherlands
#2
2021-07-16, 12:08 AM
https://github.com/pawn-lang/sa-mp-fixes

That include does (should do) the trick
Ambarita
Offline

Burgershot Member
Posts: 6
Threads: 3
Joined: Apr 2021
Reputation: 0
#3
2021-07-16, 12:41 AM
(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.
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode