25.10.2014, 03:10
pawn Код:
CHange Dialog:Undercover(playerid, response, listitem, inputtext[])
{
switch (listitem)
{
case 0:
{
PlayerData[playerid][pClothesType] = 1;
switch (PlayerData[playerid][pGender])
{
case 1:
ShowModelSelectionMenu(playerid, "Clothes", MODEL_SELECTION_CLOTHES, g_aMaleSkins, sizeof(g_aMaleSkins), -16.0, 0.0, -55.0);
case 2:
ShowModelSelectionMenu(playerid, "Clothes", MODEL_SELECTION_CLOTHES, g_aFemaleSkins, sizeof(g_aFemaleSkins), -16.0, 0.0, -55.0);
}
}
}
return 1;
}
To
Dialog:Undercover(playerid, response, listitem, inputtext[])
{
PlayerData[playerid][pClothesType] = 1;
switch (PlayerData[playerid][pGender])
{
case 1:
ShowModelSelectionMenu(playerid, "Clothes", MODEL_SELECTION_CLOTHES, g_aMaleSkins, sizeof(g_aMaleSkins), -16.0, 0.0, -55.0);
case 2:
ShowModelSelectionMenu(playerid, "Clothes", MODEL_SELECTION_CLOTHES, g_aFemaleSkins, sizeof(g_aFemaleSkins), -16.0, 0.0, -55.0);
}
return 1;
}