SA-MP Forums Archive
Problem to enter gun shop - 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)
+--- Thread: Problem to enter gun shop (/showthread.php?tid=465074)



Problem to enter gun shop - par30 - 20.09.2013



Quote:

CreateEnterExit(0, -2626.3848, 208.5084, 5.1083, 287.4179, -39.1396, 1001.4525, 250, 0, 0, "");

The address is correct?


Re: Problem to enter gun shop - par30 - 20.09.2013

helpppppppppp


Re: Problem to enter gun shop - AnonScripter - 20.09.2013

SetPlayerInterior(playerid,ID); //replace ID with the interior id you like
SetPlayerPosition(playerid,floatx,y,z); //replace the x,y,z with the right position

use these websites:
https://sampwiki.blast.hk/wiki/InteriorIDs
http://weedarr.wikidot.com/interior


Re: Problem to enter gun shop - Problems - 20.09.2013

This will work , I think

CreateEnterExit(0, -2626.3848, 208.5084, 5.1083, 287.4179, -39.1396, 1001.4525, 250, 1, 0, "");

EDIT : I use this in my gamemode
pawn Код:
CreateEnterExit(0,1368.3096,-1279.8207,13.5469,286.0746,-40.0184,1001.5156,4.6000,1,0,"",1318); //Ammunation Enter
It's the Los Santos Ammunation

pawn Код:
• CreateEnterExit(ieeworld, Float:ieex, Float:ieey, Float:ieez, Float:ieex2, Float:ieey2, Float:ieez2, Float:ieea, ieeinterior, ieeworld2 = -1, ieemsg[] = "", ieemodel=19198 );



Re: Problem to enter gun shop - par30 - 20.09.2013

Quote:

This will work , I think

CreateEnterExit(0, -2626.3848, 208.5084, 5.1083, 287.4179, -39.1396, 1001.4525, 250, 1, 0, "");


How could
Teach me to plz


Re: Problem to enter gun shop - par30 - 20.09.2013

how to

CreateEnterExit(0, -2626.3848, 208.5084, 5.1083, 287.4179, -39.1396, 1001.4525, 250, 1, 0, "");


Re: Problem to enter gun shop - Problems - 20.09.2013

This will work for your Position
pawn Код:
CreateEnterExit(0,-2626.3848, 208.5084, 5.1083, 287.4179, -39.1396, 1001.4525, 250, 1, 0, "");
Put it Under
pawn Код:
OnGameModeInit



Re: Problem to enter gun shop - par30 - 20.09.2013

i not Understand...


example ؟

OnGameModeInit
CreateEnterExit(0, -2571.6194, 246.8069, 10.6011, 418.6068, -81.1550, 1002.2993, 1, 17, 10, "");


Re: Problem to enter gun shop - par30 - 20.09.2013

Quote:

public OnGameModeInit()
{
DisableInteriorEnterExits();








CreateEnterExit(0, -2571.6194, 246.8069, 10.6011, 418.6068, -81.1550, 1002.2993, 1, 17, 10, "");
CreateEnterExit(0, 412.0055, -54.7128, 1001.8709, -2569.1145, 243.8608, 10.2192, 0, 0, 0, "");

!!!!!!!!!!!!


Re: Problem to enter gun shop - Problems - 20.09.2013

Yeah , but the 2nd CreateEnterExit Have 0 Interior ?