SA-MP Forums Archive
Small Problems :s - 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: Small Problems :s (/showthread.php?tid=463498)



Small Problems :s - AnonScripter - 12.09.2013

Hey all i have a small problems and hope somebody help.

1) How to remove this marker??


2) How we can increase the "disappearing distance" for dynamic map icons??
i put some of dynamic map icons in my script but while u are in game, it disappears quickly if i move some centimeters away from it, so how to increase the distance??

3) How can i make the teleport command teleports me into some store?? , i have this:
Код:
if (strcmp("/cluckin", cmdtext, true, 10) == 0)
	{
	    SetPlayerPos(playerid,365.6730,-10.7132,1001.8516);
		return 1;
	}
The position is into a cluckin bill store, but it teleports me through the air:




Re: Small Problems :s - Twizted - 12.09.2013

1.
pawn Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    return 1;
}
2. No idea, I'll have to pass.

3.
pawn Код:
if (strcmp("/cluckin", cmdtext, true, 10) == 0)
    {
        SetPlayerPos(playerid,365.6730,-10.7132,1001.8516);
        SetPlayerInterior(playerid,interiorid); //Replace "interiorid" with the interior you wish.
        return 1;
    }



Re: Small Problems :s - AnonScripter - 12.09.2013

thank you