SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 19/08/2017, 05:13 AM   #1
Bussyman
Big Clucker
 
Join Date: Apr 2017
Posts: 161
Reputation: 0
Default OnPlayerSpawn return 0;

Hi,

If in OnPlayerSpawn i return 0;, it's just difference, that in filterscripts onplayerspawn not be called? so if i don't have filterscripts, return 0; is same as return 1; to me?
Bussyman is offline   Reply With Quote
Old 19/08/2017, 09:46 AM   #2
JesterlJoker
Huge Clucker
 
Join Date: Apr 2015
Location: Cagayan de Oro, Philippines
Posts: 264
Reputation: 27
Default Re: OnPlayerSpawn return 0;

Yes it would just be the same as return 1; without any filterscript...
__________________
My Projects:

JesterlJoker is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
function should return a value? But i use return.. faxxe Scripting Help 4 21/03/2017 10:08 PM
continue and return 0 and return 1 and break work? MBilal Scripting Help 7 15/05/2016 08:12 AM
How to return a string variable using the multi-return method? Juvanii Scripting Help 7 04/03/2016 09:32 PM
What's the diffrences between Return True and Return False davidstyle1125 Scripting Help 4 09/12/2014 08:34 PM
return true vs return 1 +rep genesis87 Scripting Help 4 02/02/2012 09:47 AM


All times are GMT. The time now is 02:28 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.