ShowModelSelectionMenuEx not responding
#3

mSelection doesn't work like a regular dialog, modelid != listiem. modelid is the id of the model in the preview textdraw not the listitem.
Instead of doing this:
pawn Код:
if(modelid == 0 && PlayerInfo[playerid][pAccount] > 8999999) // Maveric
if(modelid == 1 && PlayerInfo[playerid][pAccount] > 6999999) // Sparrow
if(modelid == 2 && PlayerInfo[playerid][pAccount] > 9999999) // Shamal
Do this instead and it should work:
pawn Код:
if(modelid == 487 && PlayerInfo[playerid][pAccount] > 8999999) // Maveric
if(modelid == 469 && PlayerInfo[playerid][pAccount] > 6999999) // Sparrow
if(modelid == 519 && PlayerInfo[playerid][pAccount] > 9999999) // Shamal
Reply


Messages In This Thread
Nevermind - by Mikkel_RE - 05.11.2015, 15:05
Re: ShowModelSelectionMenuEx not responding - by Mikkel_RE - 05.11.2015, 16:03
Re: ShowModelSelectionMenuEx not responding - by AnthonyDaSexy - 05.11.2015, 18:58
Re: ShowModelSelectionMenuEx not responding - by Mikkel_RE - 05.11.2015, 19:57
Re: ShowModelSelectionMenuEx not responding - by AnthonyDaSexy - 05.11.2015, 20:25
Re: ShowModelSelectionMenuEx not responding - by Mikkel_RE - 06.11.2015, 10:45

Forum Jump:


Users browsing this thread: 2 Guest(s)