[SAMP plugins] data type checkiing
#1

Let's consider such a native function:

Код:
native AddTwoFloats( Float:a, Float:b );
Someone decides he needs to add two integers. He comes up to the idea to delete those 'Float' tags. His new function looks like this:

Код:
native AddTwoFloats( a, b );
The question is... how do I perform type checking inside plugin? Because of security and code stability reasons
Reply


Messages In This Thread
[SAMP plugins] data type checkiing - by Baltazar - 02.08.2014, 17:11
Re: [SAMP plugins] data type checkiing - by Baltazar - 03.08.2014, 01:37

Forum Jump:


Users browsing this thread: 1 Guest(s)