SA-MP Forums Archive
[Tutorial] How to make zones visible under minimap. - 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: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] How to make zones visible under minimap. (/showthread.php?tid=280072)



How to make zones visible under minimap. - ModianO - 30.08.2011

Removed.


Re: How to make zones visible under minimap. - =WoR=Varth - 30.08.2011

I told you already, read this:
https://sampforum.blast.hk/showthread.php?tid=65567


Re: How to make zones visible under minimap. - Darnell - 30.08.2011

Did you just click new ?
If it's a filterscript, then make it, not a GM.


Re: How to make zones visible under minimap. - iggy1 - 30.08.2011

Also if you copy and paste that code it would mess your class selection up.

@ ModianO: this isn't a tutorial. And you should remove anything that isn't needed from the code.


Re: How to make zones visible under minimap. - ModianO - 31.08.2011

I was inactive, what's wrong?


Re: How to make zones visible under minimap. - iggy1 - 01.09.2011

Quote:
Originally Posted by ModianO
Посмотреть сообщение
I was inactive, what's wrong?
Everything about this thread.

You don't explain what anything does. You tell people to copy from pastebin. And the code there would bug a mode.

EG,
Read the comments.
pawn Код:
public OnGameModeInit()
{
    // Don't use these lines if it's a filterscript <<
    SetGameModeText("Blank Script");// this will change the mode text to "blank script"
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//adds another cj class to the mode messing classes up
    return 1;
}
This will mess class selection up.
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
}
The script is either a gamemode or a filterscript not both. So you should edit the code accordingly. Remove any callbacks/code that are not used.