mSelection doesn't show all skins? +rep
#7

Quote:
Originally Posted by JasonRiggs
View Post
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);
This is the code which I guess will make it work..
I have noticed that you changed if it's equal or greater, the problem is these errors/warnings:
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

5234 line that one code you have changed.
Reply


Messages In This Thread
mSelection doesn't show all skins? +rep - by DemME - 22.05.2017, 13:16
Re: mSelection doesn't show all skins? +rep - by NaS - 22.05.2017, 13:56
Re: mSelection doesn't show all skins? +rep - by DemME - 22.05.2017, 16:05
Re: mSelection doesn't show all skins? +rep - by NaS - 23.05.2017, 13:26
Re: mSelection doesn't show all skins? +rep - by DemME - 24.05.2017, 21:35
Re: mSelection doesn't show all skins? +rep - by JasonRiggs - 24.05.2017, 23:09
Re: mSelection doesn't show all skins? +rep - by DemME - 25.05.2017, 10:45
Re: mSelection doesn't show all skins? +rep - by JasonRiggs - 25.05.2017, 11:34
Re: mSelection doesn't show all skins? +rep - by DemME - 25.05.2017, 12:10
Re: mSelection doesn't show all skins? +rep - by JasonRiggs - 25.05.2017, 23:55

Forum Jump:


Users browsing this thread: 1 Guest(s)