28.05.2016, 21:48
Quote:
quickest way?
new cleanslot[pPlayerEnum]; PlayerI[playerid]=cleanslot; Where pPlayerEnum is your enum name and PlayerI is your variable array. This will only work if you don't use 1D arrays for each variable but 1 big 2D/3D array for all or most of your variables. |
He's trying to clear multiple variables at once, not enum.
Quote:
Am, I'm not sure how that works I mean I understood you but I didn't know that's how variables work?
|
Quote:
Oh I see so it's hardcore to clear them all? I mean like I have some that are mixed like letter+number+letter+idk...
|
Код:
letter = number = 0;
It's the same as doing:
Код:
letter = 0; number = 0;