View Full Version : No icon

24/09/2013, 12:55 PM
I just started learning how to script,so i don't know much about it.
I would like to know how to make an enter point without an icon?

Example:When you come to the door, you don't see any icon in front of it,but when you type /enter there you enter a custom interior.

Thanks in advance.

24/09/2013, 12:59 PM
You have to make a Command with zcmd called "enter"

Let me give you an Example:

CMD:enter(playerid, params[])
if(IsPlayerInRangeOfPoint(playerid, 5, x,y,z)) //Set Range from where Player can do /enter
SetPlayerPos(playerid, x,y,z); //Set Position of Player by doing /save in game.
SetPlayerInterior(playerid, <interiorid>); //Check Interior ID from ******
return 1;

If you won't understand, feel free to reply here Again.

24/09/2013, 01:13 PM
use this first:
public OnGameModeInit()
return 1;
to disable the markers that on every door ingame.

24/09/2013, 02:37 PM
I only want to have two or three invisible enter points (with no icons),like hitman HQ ans such. Other things,like houses should normaly show green house icon.