SA-MP Forums Archive
using return in threaded mysql public - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: using return in threaded mysql public (/showthread.php?tid=490374)



using return in threaded mysql public - audriuxxx - 26.01.2014

Hi,

Can i use return 1; in mysql threaded public like?

Код:
forward OnPlayerLoggeed( playerid );
public OnPlayerLoggeed( playerid )
{
return 1;
}
I don't get error's, but does it don't stop script or something bad can be?


Re: using return in threaded mysql public - Scottas - 26.01.2014

Yes, you can use it, nothing will go wrong