SA-MP Forums Archive
Help needed! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help needed! (/showthread.php?tid=81596)



Help needed! - laser50 - 12.06.2009

hello, does any1 knows how to do what me and my friend are trying?

we wanna make a city hall but the problem is the yellow arrow, if someone walks into it he will get teleported to las venturas,
does any1 knows how to fix that?


Re: Help needed! - laser50 - 12.06.2009

we can`t script any further due to this...


Re: Help needed! - miokie - 12.06.2009

DisableInteriorEnterExits


Re: Help needed! - laser50 - 12.06.2009

that removes ALL arrows, then i can`t use the Burger shot or something anymore...


Re: Help needed! - yezizhu - 12.06.2009

make an object to cover the arrow


Re: Help needed! - Balkan-SF - 12.06.2009

try with this:

Код:
public OnPlayerPickUpPickup
{
  if(pickupid == SlowmotionPickup[playerid])
  {
    DestroyPickup(SlowmotionPickup[playerid]);
  }
  if (PlayerToPoint(radius, playerid,x,y,z))
  {
      SetPlayerPos(playerid, x,y,z);
  }
  return 1;
}



Re: Help needed! - laser50 - 12.06.2009

i dont really understand it (my friend)


Re: Help needed! - Lewwy - 12.06.2009

Create a pickup and assign it with a variable, then use the OnPlayerPickUpPickup callback to detect if the player uses it with a "==" statement.


Re: Help needed! - Correlli - 12.06.2009

Quote:
Originally Posted by Kora
try with this:

Код:
public OnPlayerPickUpPickup
{
  if(pickupid == SlowmotionPickup[playerid])
  {
    DestroyPickup(SlowmotionPickup[playerid]);
  }
  if (PlayerToPoint(radius, playerid,x,y,z))
  {
      SetPlayerPos(playerid, x,y,z);
  }
  return 1;
}
Em..? And what is that for? And what is SlowmotionPickup defined as..?