05.11.2015, 18:58
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:
Do this instead and it should work:
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
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