SA-MP Forums Archive
[Tutorial] How to add objects or Maps - 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 add objects or Maps (/showthread.php?tid=480981)



How to add objects or Maps - MORJAN1122 - 13.12.2013

hi all today i will show you how to add object from MTA or SAMP EDITOR To your server

FIRST I WILL START IN SAMP EDITOR WHENE YOU FINSH YOUR MAP SELECT IN SHOW CODES AND THAT CODE YOU
HAVE TO ADD IT IN :
Code:
public OnGameModeInit()
LIKE:
Code:
CreateObject(19431,937.9721670,2332.8820800,15.1062370,0.0000000,0.0000000,90.0000000); //
that you have to add it under
Code:
public OnGameModeInit()
that what you have to do :
Code:
public OnGameModeInit()
{CreateObject(19431,937.9721670,2332.8820800,15.1062370,0.0000000,0.0000000,90.0000000); 
}
2- NOW IF YOU USE MTA WHENE YOU SAVE THE FILE YOU FIND IT AND OPEN IT YOU WILL SEE CODE THAT CODES COPY IT AND GO TOSAMP CONVENTERpaste it and get the codes and take the code and paste it in
Code:
public OnGameModeInit()
look like :
Code:
public OnGameModeInit()
{CreateObject(19431,937.9721670,2332.8820800,15.1062370,0.0000000,0.0000000,90.0000000); 
}
**notes:if you add more that 1000 object you have to use streamer plugins you can download it. and want to set CreateDynamicObject in CreateObject and in samp editoe you can find that whene you selcet show code in MTA you can convert it in SAMP CONVENTER

THX IF I HELP YOU REP ME PLS


Re: How to add objects or Maps - Ivan25 - 13.12.2013

this is very poor written. You should explain where to put what, not just say 'place this under that' ...


Re: How to add objects or Maps - momo123 - 14.12.2013

thx i will give you REP.


Re: How to add objects or Maps - DyduShxD - 14.12.2013

pawn Code:
public OnGameModeInit()
{CreateObject(19431,937.9721670,2332.8820800,15.1062370,0.0000000,0.0000000,90.0000000);
}

public OnGameModeInit()
{
CreateObject(19431,937.9721670,2332.8820800,15.1062370,0.0000000,0.0000000,90.0000000);
}



Re: How to add objects or Maps - newbie scripter - 14.12.2013

200 object, MAX 1000 objects with CreateObject not 200


AW: How to add objects or Maps - BigETI - 14.12.2013

font size + font color + explanation = horrible to read


Re: How to add objects or Maps - MORJAN1122 - 14.12.2013

ok guys that my first Tutorial


Re: How to add objects or Maps - iZN - 14.12.2013

Ow my eyes! Please remove the colours and resize your font, we can see in the normal font. No need of making it bigger for highlighting. Please fix some spelling mistakes too and grammatical errors.