SA-MP Forums Archive
Help please - 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 please (/showthread.php?tid=84468)



Help please - Mr_Finnigan - 01.07.2009

Ive added a Ammu-Nation to my server,i can get in and out of it via checkpoints.What i need is for the red marker to show up inside to buy weapons? Any help would be greatly appreciated.


Re: Help please - Grim_ - 01.07.2009

The checkpoint is already there by default.


Re: Help please - Mr_Finnigan - 01.07.2009

Код:
public OnPlayerEnterCheckpoint(playerid)
{
  SetPlayerPos(playerid,286.148986,-40.644397,1001.515625);
  SetPlayerInterior(playerid, 1);
  return 1;
}
I Use this and there is no marker or ammu dude standing inside,remember i added:

Код:
CreateObject(18552, -1981.885986, 881.869263, 44.190384, 0.0000, 0.0000, 269.7592);
So this is not one of the existing ammu's with dude inside


Re: Help please - Grim_ - 01.07.2009

Then script the checkpoint and menu selection yourself.


Re: Help please - Mr_Finnigan - 01.07.2009

Quote:
Originally Posted by Swift_
Then script the checkpoint and menu selection yourself.
I did script checkpoint myself,as i said i can get in and out of ammu,i just do not how to script menu part


Re: Help please - Grim_ - 01.07.2009

Use - The - Wiki.
https://sampwiki.blast.hk/wiki/CreateMenu


Re: Help please - Mr_Finnigan - 01.07.2009

Thank-You now im getting somewhere.

Your name suits you,your responses and help are as "Swift" as it gets.


Re: Help please - Grim_ - 01.07.2009

lol. Thanks :P