16.03.2013, 19:54
pawn Код:
public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
if (pickupid == skinShop)
{
if (GetPlayerMoney(playerid) < SKIN_COST)
return SendClientMessage(playerid, COLOR_WHITE, "[ {ff0000}klaida {ffffff}]: Jыs neturite {ff0000}$"#SKIN_COST"");
printf("A");
ShowModelSelectionMenu(playerid, (pInfo[playerid][statsGender] == 1) ? (maleSkins) : (femaleSkins), "KAINA - $"#SKIN_COST"");
printf("B");
}
return (true);
}
pawn Код:
skinShop = CreateDynamicPickup(1275, 1, 214.5725, -40.2552, 1002.0234, 4, 1);