Warning that I don't know how to fix
#5

Quote:
Originally Posted by rangerxxll
Посмотреть сообщение
Can you explain to me why
pawn Код:
return 1;
Has to go there? I'm just curious so I don't make mistakes in the future
Returning the value after the compound function is enclosed with braces the command returns that specific value. Returning the value '1' in your first example, returned if(simplejobrunning[playerid] == 1) as true. Though, after the command has been enclosed, everything is being returned.
Reply


Messages In This Thread
Warning that I don't know how to fix - by rangerxxll - 14.09.2011, 01:39
Re: Warning that I don't know how to fix - by [HiC]TheKiller - 14.09.2011, 01:40
Re: Warning that I don't know how to fix - by rangerxxll - 14.09.2011, 01:43
Re: Warning that I don't know how to fix - by Dr - 14.09.2011, 01:51
Re: Warning that I don't know how to fix - by Kush - 14.09.2011, 02:28

Forum Jump:


Users browsing this thread: 1 Guest(s)