Some questions
#2

1. No
2. Do not use continue with it, absolutely no reasons to, the script knows it should continue the code there.
3. Its not good to use huge string sizes but they are needed sometimes therefore if you can find a better way, do it that way if not do it with a huge string. Bare in mind dialogs are limited to certain string size
4. No difference. Depends what do you want to do. I usualy check for false first and then continue. Ie:

PHP код:
if(GetPlayerMoney(playerid) < 500) return Msg(playerid,COLOR_RED,"You dont have enough $$"); //check for false
Msg(playerid,COLOR_RED,"You have 500$ or more"); 
Just makes it easier for me. But there aint much difference. Else can sometimes be a bitch when fucking around with many variables
Reply


Messages In This Thread
Some questions - by Sjn - 03.02.2016, 17:51
Re: Some questions - by TwinkiDaBoss - 03.02.2016, 17:58
Re: Some questions - by Mencent - 03.02.2016, 18:03
Re: Some questions - by SickAttack - 03.02.2016, 18:08
Re: Some questions - by Sjn - 03.02.2016, 18:15
Re: Some questions - by TwinkiDaBoss - 03.02.2016, 18:21
Re: Some questions - by Alcatrik - 03.02.2016, 18:23
Re: Some questions - by PrO.GameR - 03.02.2016, 21:33
Re: Some questions - by Sjn - 04.02.2016, 18:20

Forum Jump:


Users browsing this thread: 1 Guest(s)