How do we add a map in our gamemode ?
#1

I downloaded a map on the forum and i wanted to know how do I add it in my server/gamemode ??
Reply
#2

put that lines under "OnGameModeInit ()
example:
pawn Код:
#include <streamer> //On top of yor script... FS or GM
//under ongamemodeinit
public OnGameModeInit()
{
    CreateDynamicObject(10828, -2018.18, 290.65, 32.11,   0.00, 0.00, 90.18);
    CreateDynamicObject(3115, -2091.00, 288.00, 40.30,   0.00, 0.00, 0.00);
    CreateDynamicObject(3115, -2070.10, 287.90, 40.30,   0.00, 0.00, 0.00); // copy past all map lines like this and it will work! dont leave space it doesnt matter but they all should be without space!
//and keep doing it like this ! :)
Enjoy!
Reply
#3

Put the code under "OnGameModeInit"

REMEMBER: "RemoveBuildingForPlayer" goes under "OnPlayerConnect"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)