PDA

View Full Version : Small Problems :s


AnonScripter
12/09/2013, 11:50 AM
Hey all i have a small problems and hope somebody help.

1) How to remove this marker??
http://i43.tinypic.com/34pav7n.jpg

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:

http://i39.tinypic.com/2qau107.jpg

Twizted
12/09/2013, 12:15 PM
1. public OnGameModeInit()
{
DisableInteriorEnterExits();
return 1;
}

2. No idea, I'll have to pass.

3.
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;
}

AnonScripter
12/09/2013, 04:09 PM
thank you