19.09.2010, 01:12
(
Последний раз редактировалось Kitten; 24.11.2013 в 05:20.
)
Solved
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(zTeam[playerid] == HUMAN)
{
if(checkpointid == CP1[playerid])
{
ShowPlayerDialog(playerid,Dialog_Weaps,2,"Choose a Weapon","Uzi $2500\nAk47 $10000\nSawn-Off Shotgun $20000\nTec9 $3500\nSMG $20999\nCombat Shotgun $25000","Buy","Cancel");
}
}
else if(zTeam[playerid] == ZOMBIE)
{
if(checkpointid == CP1[playerid])
{
SendClientMessage(playerid,red,"You Are not Allowed to buy weapons");
}
}
return 1;
}