10.09.2018, 07:08
(
Последний раз редактировалось ZigGamerx; 10.09.2018 в 07:47.
Причина: sLOVED
)
SOLVED
public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == pickupshopC) { if(GetPlayerTeam(playerid) == TEAM_CIVILIANS) { ShowPlayerDialog(playerid, DIALOG_WEAPONS, DIALOG_STYLE_LIST, "Weapon shop", "Knife - 100$\nGrenades - 500$", "Buy", "Cancel"); } else SendClientMessage(playerid, -1, "You cannot use another team shop"); } if(pickupid == pickupshopT) { if(GetPlayerTeam(playerid) == TEAM_TERRORIST) { ShowPlayerDialog(playerid, DIALOG_WEAPONS, DIALOG_STYLE_LIST, "Weapon shop", "Knife - 100$\nGrenades - 500$", "Buy", "Cancel"); } else SendClientMessage(playerid, -1, "You cannot use another team shop"); } return 1; }