[HELP] Error with my Pickup
#8

42.
Код:
public OnGameModeInit()
{
	// Don't use these lines if it's a filterscript
	SetGameModeText("The Server ");

  cash = CreatePickup( 1242, 23, 135.6321,1875.8905,22.4375 );
	
	AddPlayerClass(0, 222.8197,1869.8074,13.1406,88.1455, 4,1, 22, 150, 0, 0);
	AddPlayerClass(1, 222.8197,1869.8074,13.1406,88.1455, 4,1, 28, 150, 0, 0);
	AddPlayerClass(41, 222.8197,1869.8074,13.1406,88.1455, 4,1, 22, 150, 0, 0);
	AddPlayerClass(12, 222.8197,1869.8074,13.1406,88.1455, 4,1, 28, 150, 0, 0);
	return 1;
}
183 And 188

Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
  if (pickupid == cash)
  {
    GivePlayerMoney(playerid,10000);
   
  }
)
}

Reply


Messages In This Thread
[HELP] Error with my Pickup - by Smiths - 31.08.2009, 17:21
Re: [HELP] Error with my Pickup - by XtremeChio - 31.08.2009, 17:23
Re: [HELP] Error with my Pickup - by Smiths - 31.08.2009, 17:25
Re: [HELP] Error with my Pickup - by Clavius - 31.08.2009, 17:29
Re: [HELP] Error with my Pickup - by indy-greg - 31.08.2009, 17:31
Re: [HELP] Error with my Pickup - by Smiths - 31.08.2009, 17:31
Re: [HELP] Error with my Pickup - by Clavius - 31.08.2009, 17:36
Re: [HELP] Error with my Pickup - by Smiths - 31.08.2009, 18:02
Re: [HELP] Error with my Pickup - by Yuryfury - 31.08.2009, 18:08
Re: [HELP] Error with my Pickup - by Smiths - 31.08.2009, 18:09

Forum Jump:


Users browsing this thread: 1 Guest(s)