Explain returns
#3

returns are also used to return values in any function or code!

Like CreateVehicle returns the vehicle id of the vehicle just created , same with many callbacks!
Like GetPlayerVehicleID returns vehicle id which player is driving!

You can make custom callbacks tu return many kind of values and more functions also!

Functions can also return functions! returns can also be used to return true or false in a function!
Reply


Messages In This Thread
Explain returns - by Moron - 28.11.2012, 11:38
Re: Explain returns - by CentyPoo - 28.11.2012, 12:14
Re: Explain returns - by Ballu Miaa - 28.11.2012, 12:18
Re: Explain returns - by Moron - 01.12.2012, 16:18
Re: Explain returns - by Ballu Miaa - 02.12.2012, 06:13

Forum Jump:


Users browsing this thread: 2 Guest(s)