pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Deagle)
{
if(GetPlayerTeam(playerid) == 2) return SendClientMessage(playerid,-1,"ArrG !");
else {
SendClientMessage(playerid,-1,"Vocк Encontrou uma Pistola com 7 Balas !");
GivePlayerWeapon(playerid, 24, 7);
}
}
return 1;
}