20.01.2013, 21:57
pawn Код:
#include <a_samp>
static JS_WeaponEagle_Pickup;
public OnFilterScriptInit()
{
JS_WeaponEagle_Pickup = CreatePickup(modelo,1,X,Y,Z,0);
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(JS_WeaponEagle_Pickup == pickupid){
GivePlayerWeapon(playerid, WEAPON_DEAGLE, 500);
return SendClientMessage(playerid,0xFFFFFFFF,"Voce Pegou Uma Eagle");
}
return 1;
}