SA-MP Forums Archive
How can I add map to? - 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 can I add map to? (/showthread.php?tid=446520)



How can I add map to? - Vrag - 26.06.2013

So yes I forgot how to put map in my own SAMP server.My server was DDosed and I forgot


Re: How can I add map to? - Guest123 - 26.06.2013

pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>



public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Bla2");
    print("--------------------------------------\n");
    CreateObject(bla2);
    CreateObject(bla2);
    CreateObject(bla2);
    CreateObject(bla2);
    CreateObject(bla2);
    CreateObject(bla2);
    CreateObject(bla2);
    CreateObject(bla2);
    return 1;
}



Re: How can I add map to? - DJRebis - 26.06.2013

Quote:
Originally Posted by Vrag
Посмотреть сообщение
So yes I forgot how to put map in my own SAMP server.My server was DDosed and I forgot
Or try like this:
Код:
//--------------------------------------------------------------------------
    //object
    CreateObject(coords);
    CreateObject(coords);
and it would look like this
Код:
public OnGameModeInit()
{
	// Don't use these lines if it's a filterscript
	SetGameModeText("Blank Script");
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	//--------------------------------------------------------------------------
	//object
	CreateObject(11470, 470.70480, 1105.42175, 19.40820,   -10.00000, 3.00000, -10.00000);
    CreateObject(11470, 457.69711, 1116.90918, 17.03960,   -12.00000, 4.00000, 4.00000);
	return 1;
}