Closed maddin77 closed 10 years ago
Hi, i want to use the functions of the FCNPC Plugin in PHP, but i cant find a way to use callbacks. I tried to use it like this:
RegisterAMXNative('FCNPC_OnCreate', "null", "int"); function FCNPC_OnCreate($id) { //do something }
but that will just throw me an error because it will try to redeclare a function.
So... is there actually a way to do this? Or if not, are there any plans to implement this in the future?
At the moment this is not possible. I dont have much time in the moment, so I dont know if or when it will be implemented.
Hi, i want to use the functions of the FCNPC Plugin in PHP, but i cant find a way to use callbacks. I tried to use it like this:
but that will just throw me an error because it will try to redeclare a function.
So... is there actually a way to do this? Or if not, are there any plans to implement this in the future?