#9

pawn Код:
#include <a_samp>

new Pickup;

public OnGameModeInit()
{
Pickup = CreatePickup(1212, 2, Float:x, Float:y, Float:z);
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Pickup)
{
GivePlayerMoney(playerid, amount);
return 1;
}
return 1;
}
And please use the 'Modify' button instead of triple posting. :P
Reply


Messages In This Thread
case - by sggassasin - 17.07.2009, 11:01
Re: case - by refshal - 17.07.2009, 11:08
Re: case - by sggassasin - 18.07.2009, 07:26
Re: case - by Sergei - 18.07.2009, 07:30
Re: case - by sggassasin - 18.07.2009, 07:33
Re: case - by sggassasin - 18.07.2009, 07:37
Re: case - by sggassasin - 18.07.2009, 08:25
Re: case - by sggassasin - 18.07.2009, 08:40
Re: case - by refshal - 18.07.2009, 09:36

Forum Jump:


Users browsing this thread: 1 Guest(s)