25.05.2017, 10:45
Quote:
What I can see in your code is that you are limiting the skins to be either equal to 0 or 300 or 74 or less than 274 or greater than 28 or less than 264 or greater than 267 or equal to 149 or
equal to 311 or 310 or 309 or 308 or 307 or 306 or 302 or 301 or 300, why don't you remove all of that and make it be either greater than 1 or smaller than 312 Code:
if(listitem == 1) { new Skin[312], count = -1; for(new i = 1; i < sizeof(Skin); i++) { if(i>=1 && i=<312); { count++; Skin[count] = i; } } if(count != -1) ShowModelSelectionMenuEx(playerid, Skin, count, "Skin Selection", 5, 0.0, 0.0, 0.0); |
Quote:
../gamemodes/core.pwn(5234) : warning 211: possibly unintended assignment ../gamemodes/core.pwn(5234) : error 022: must be lvalue (non-constant) ../gamemodes/core.pwn(5234) : error 029: invalid expression, assumed zero ../gamemodes/core.pwn(5234) : warning 215: expression has no effect ../gamemodes/core.pwn(5234) : error 001: expected token: ";", but found ")" ../gamemodes/core.pwn(5234) : fatal error 107: too many error messages on one line |