04.05.2011, 20:27
Comeзo GM
Ongamemodeinit()
OnPlayerPickUpPickup
pawn Код:
new Pegararma;
pawn Код:
Pegararma = AddStaticPickup(Modelo, Tipo, Coord X,Coord Y,Coord Z);
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Pegararma)
{
GivePlayerWeapon (id , balas)
}
}