07.07.2009, 13:11
Quote:
Originally Posted by M4DKiLLA
Edit: Fixed
|
pawn Код:
else if (strcmp(text,"7",true) == 0)
{
new playerWeapons = GetPlayerWeapon(playerid);
if(playerWeapons == 23)
{
new Playermoney = GetPlayerMoney(playerid);
if (Playermoney < 100)
{
SendClientMessage(playerid,red,"You Do not have enough Cash");
return 1;
}
GivePlayerMoney(playerid, -100);
GivePlayerWeapon(playerid,23,300);
buyammu1[playerid] = 1;
}
else
{
SendClientMessage(playerid,red,"You Need to buy a Silencer to buy this ammo");
}
return 0;
}