SA-MP Forums Archive
How to install map my server? - 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: How to install map my server? (/showthread.php?tid=650478)



How to install map my server? - hasantemur - 28.02.2018

How to install map my server?
Filterscript or gamemode?

Help Please.


Re: How to install map my server? - FaLLenGirL - 28.02.2018

It's okay in a filterscript, just put that code under the OnFilterScriptInit public, and that's all. Also don't use CreateObject too much, there's a limit of 1000 objects, if you exceed this limit the objects will not be shown, so use CreateDynamicObject, there doesn't exist a limit.


Re: How to install map my server? - PepsiCola23 - 28.02.2018

you need to put
PHP код:
 RemoveBuildingForPlayer 
at
Код:
OnPlayerConnect



Re: How to install map my server? - cuber - 28.02.2018

pawn Код:
public OnPlayerConnect(playerid)
{
    Put the "RemoveBuildingForPlayer" here.
    return 1;
}

public OnGameModeInit()
{
    Put the "CreateObject" or "CreateDynamicObject" code here.
    return 1;
}