[ajuda]Armas ja dropada
#2

Sгo as famosas Pickups

pawn Код:
new SuaPikcup
Agora em OnGameModeInit

pawn Код:
SuaPikcup = CreatePickup(IDDAPICKUP, 1, x,y,z);//id da m4 girando ou de outros objetos aki >>https://sampwiki.blast.hk/wiki/Game_Object_ID_List
agora em OnPlayerPickUpPickup

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == SuaPikcup)
{
GivePlayerWeapon(playerid,IDDAARMAMUNIЗГO);
}
return 1;
}
Reply


Messages In This Thread
[ajuda]Armas ja dropada - by SERRA93 - 04.05.2011, 19:47
Re: [ajuda]Armas ja dropada - by zbt_Daimyo - 04.05.2011, 20:21
Re: [ajuda]Armas ja dropada - by Nightwish - 04.05.2011, 20:27
Re: [ajuda]Armas ja dropada - by SERRA93 - 04.05.2011, 20:58
Re: [ajuda]Armas ja dropada - by SERRA93 - 04.05.2011, 21:04
Re: [ajuda]Armas ja dropada - by The Knight - 04.05.2011, 21:05
Re: [ajuda]Armas ja dropada - by Macintosh - 04.05.2011, 21:08
Re: [ajuda]Armas ja dropada - by Shadoww5 - 04.05.2011, 21:54
Re: [ajuda]Armas ja dropada - by SERRA93 - 04.05.2011, 23:07

Forum Jump:


Users browsing this thread: 1 Guest(s)