Applying map to gamemode.
#1

Hello,
So I did start using MTA from a week or so, I do need to know how can I apply my map to the gamemode. Here is what I always do:

1. I finish the map.
2. I save it.
3. I go to my map file.
4. And after I copy it all.
5. I go to http://convertffs.com/
6. I paste what I've copied.
7. I do change Input to:
MTA 1.0 Object change
MTA 1.0 Vehicle change
And, Output to:
MTA 1.0 Object change
MTA 1.0 Vehicle change
Note: I'm using MTA San Andreas 1.3 but I can't see it in the website.
8. I press convert.
9. I copy all.
10. I go and paste it in my gamemode

After all, I go to it's place, nothing there....So, if someone could help me, that would be great :)

Thanks!
Reply
#2

Where do you paste it in your mode? I don't know if there is any change between 1.0 and 1.3, but it should work. Also, here at sa-mp forums we encourage the map editor of our community, by JernejL: Click
Works a lot easier with exporting and stuff. Anyway, just tell me where you paste the code in your mode, maybe the problem is there.
Reply
#3

Hello,
I do post my code into my gamemode
Thanks!
Reply
#4

I understand that you post it in your gamemode, but where exactly? You can't just go and place it anywhere and expect it to work. Try pasting the map code into OnGameModeInit, that has to work.
Reply
#5

So, I just do
OnGameModeInit
Objects or? :P
Thanks for help

//Edit:
So, are you sure from that " Input " And "Output" Things? If not, will you tell me what it should be? Thanks!
Reply
#6

yeah, like this
pawn Код:
public OnGameModeInit()
{
//mapping code
}
Don't make a new public OnGameModeInit, but use the existing one.
Hope this helps
Reply
#7

Like he said.
You must paste the code in GameModeInit.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)