22.02.2011, 18:49
pawn Код:
// On the top
new ballasarmor;
// On gamemodinit
ballasarmor = CreatePickup(1242, 3, 1926.0625, -1115.0798339844, 27.088310241699, -1);
// onplayerPickUpPickup
if(pickupid == ballasarmor)
if(gTeam[playerid] == TEAM_BALLAS)
{
GivePlayerArmour(playerid,100);
}
else if(gTeam[playerid] != TEAM_BALLAS)
{
SendClientMessage(playerid, COLOR_SAND, ":SERVER: This Armor belongs to Ballas Team !");
}