[Tutorial] How to make a Callback
#6

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
function(Decimal hi)

I'm pretty sure.
i think in C++ float still exists, but you use amx_Push. I would try that before anything. Ill tinker in a bit and revise the OP.

EDIT: Now that i think about it, i don't think that is possible with Pawn. Think about all the SAMP callbacks.. none of them return floats..

EDIT2: You might be able to pass it as a string, then use floatstr to change it to a float.
Reply


Messages In This Thread
How to make a Callback - by Pghpunkid - 14.06.2011, 06:47
Re: How to make a Callback - by Raimis_R - 14.06.2011, 07:20
Re: How to make a Callback - by Lorenc_ - 14.06.2011, 07:35
Re: How to make a Callback - by kacper55331 - 14.06.2011, 08:13
Re: How to make a Callback - by Lorenc_ - 14.06.2011, 08:18
Re: How to make a Callback - by Pghpunkid - 14.06.2011, 08:31
Re: How to make a Callback - by 0x5A656578 - 14.06.2011, 10:19
Re: How to make a Callback - by kacper55331 - 14.06.2011, 11:32
Re: How to make a Callback - by Pghpunkid - 14.06.2011, 12:34
Re: How to make a Callback - by RyDeR` - 30.06.2011, 21:10
Re: How to make a Callback - by Omega-300 - 30.06.2011, 21:39
Re: How to make a Callback - by RyDeR` - 30.06.2011, 22:20
Re: How to make a Callback - by Kyosaur - 07.07.2011, 22:19
Re: How to make a Callback - by Gamer_Z - 08.07.2011, 09:26
Re: How to make a Callback - by RyDeR` - 08.07.2011, 09:46
Re: How to make a Callback - by Gamer_Z - 08.07.2011, 10:01
Re: How to make a Callback - by MovieDrifting - 06.12.2012, 16:35

Forum Jump:


Users browsing this thread: 1 Guest(s)