Return 0; and return 1;
#4

Some of SA:MP's callback will behave differently when having a specific value returned. For example, OnPlayerRequestSpawn will only allow the player to spawn successfully with the current classid if 1 is returned. You can check the wiki for the specific callbacks/functions and see if it makes a difference. Generally, returning the value of 1 is standard.
Reply


Messages In This Thread
Return 0; and return 1; - by XProtocol - 28.12.2012, 06:39
Re: Return 0; and return 1; - by rockerman - 28.12.2012, 06:47
Re: Return 0; and return 1; - by XProtocol - 28.12.2012, 06:52
Re: Return 0; and return 1; - by Grim_ - 28.12.2012, 06:54
Re: Return 0; and return 1; - by rockerman - 28.12.2012, 07:01
Re: Return 0; and return 1; - by XProtocol - 28.12.2012, 09:14
Re: Return 0; and return 1; - by Threshold - 28.12.2012, 09:17
Re: Return 0; and return 1; - by tyler12 - 28.12.2012, 09:21
Re: Return 0; and return 1; - by XProtocol - 28.12.2012, 10:12

Forum Jump:


Users browsing this thread: 4 Guest(s)