• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Function overloading?
#1
I've seen a tutorial on function overloading but that just seems kind of bad.?



I'm creating a function to manipulate entity data (players, houses, businesses, etc.). Since I plan to generate sql queries inside the function I wanted to have the ability of manipulating with player data if the player is online or offline.



My question is, is there any possibility of creating function overloading with the first parameter either being int (playerid) and string (playername). I guess it creates a problem with one being variable and other an array.?



I have been searching forums, github, pawn documentation but still nothing. I figured if anybody can help me it must be Y_Less.
  Reply


Messages In This Thread
Function overloading? - by mr_sacrimoni - 2019-04-13, 06:31 AM
RE: Function overloading? - by Graber - 2019-04-13, 12:12 PM
RE: Function overloading? - by mr_sacrimoni - 2019-04-13, 03:49 PM

Forum Jump: