03.02.2016, 17:58
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:
Just makes it easier for me. But there aint much difference. Else can sometimes be a bitch when fucking around with many variables
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");

