10.05.2011, 18:08
(
Last edited by BeEasy114; 10/05/2011 at 08:23 PM.
Reason: Feedback on if it worked or not.
)
Quote:
Let me explain to you like that.
Credits for SA-MP Wiki. Native: "A native function is one defined in the virtual machine (i.e. the thing which runs the script), not in the script itself. You can only define native functions if they're coded into SA:MP or a plugin, however you can create fake natives. Because the native functions from .inc files are detected by pawno and listed in the box on the right hand side of pawno. it can be useful to use native to get your own custom functions listed there." Example: pawn Code:
Lets say I have created a simple function that tells your ID. I will have to forward it also. Example: pawn Code:
Like, GivePlayerMoney, GetPlayerMoney and etc. If you make a new include and type inside: pawn Code:
|
Edited: Worked perfectly thank you XP