03.12.2013, 13:24
Around one week ago I learnt how to return more than one value.
Instead of this:
I can do this:
Basically, it returns the SCM but also the returning 0 at the end! It is very useful!
Instead of this:
Код:
if(HouseID[0] == -1) { SendClientMessage(playerid, COLOR_RED, "There has been a bug in regards to calculating the Second House, Contact KyleSmith"); return 0; }
Код:
if(HouseID[0] == -1) return SendClientMessage(playerid, COLOR_RED, "There has been a bug in regards to calculating the Second House, Contact KyleSmith"), 0;
![Smiley](images/smilies/smile.png)