Help adding a map to a script?
#1

Hello I heard that you could add a map to a script, how is this done?
Do you add the whole createobjects or w.e to the script?
Reply
#2

you want add the the mapping to the your script?
Reply
#3

Just add the Objects to OnPlayerConnect
Reply
#4

Quote:

Just add the Objects to OnPlayerConnect

No ? Add them under "OnGameModeInIt"

And yea - The "CreateObject(...)"
Reply
#5

Quote:
Originally Posted by Breto
Посмотреть сообщение
No ? Add them under "OnGameModeInIt"

And yea - The "CreateObject(...)"
Onplayerconnect is used for " RemoveOnPlayerBuilding "
Reply
#6

Quote:
Originally Posted by Neonman
Посмотреть сообщение
Onplayerconnect is used for " RemoveOnPlayerBuilding "
it doesn't matter..you can remove it in onplayerspawn, or maybe in a command or anywhere...
Reply
#7

Ill use RemoveBuilding things on OnGameModeInit before my CreateDynamicObjects.

Topic: Build your map in MTA or SAMP's map editor and Copy and paste your code into: Public OnGameModeInit...
If you use MTA you need to convert them from MTA's Object to either CreateObject Or CreateDynamicObject.. And you can do it on this site HERE
And Also make sure you got the latest Streamer.dll and Streamer.inc in your server
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)