09.07.2010, 18:49
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == FightClubHealth){
SetPlayerHealth(playerid,100.0);
}
if(pickupid == FightClubArmour){
SetPlayerArmour(playerid,100.0);
}
if(pickupid == FightClubTec9){
GivePlayerWeapon(playerid,32, 960);
}
if(pickupid == FightClubSawnoff){
GivePlayerWeapon(playerid,26, 202);
}
return 1;
}