SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 20/07/2013, 04:03 PM   #1
Axey
Banned
 
Join Date: Jul 2013
Posts: 26
Reputation: -5
Thumbs up Applying map to gamemode.

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!
Axey is offline   Reply With Quote
Old 20/07/2013, 04:19 PM   #2
Jstylezzz
High-roller
 
Jstylezzz's Avatar
 
Join Date: Sep 2011
Location: Netherlands
Posts: 1,860
Reputation: 1571
Default Re: Applying map to gamemode.

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.
Jstylezzz is offline   Reply With Quote
Old 20/07/2013, 04:29 PM   #3
Axey
Banned
 
Join Date: Jul 2013
Posts: 26
Reputation: -5
Default Re: Applying map to gamemode.

Hello,
I do post my code into my gamemode
Thanks!
Axey is offline   Reply With Quote
Old 20/07/2013, 04:30 PM   #4
Jstylezzz
High-roller
 
Jstylezzz's Avatar
 
Join Date: Sep 2011
Location: Netherlands
Posts: 1,860
Reputation: 1571
Default Re: Applying map to gamemode.

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.
Jstylezzz is offline   Reply With Quote
Old 20/07/2013, 04:56 PM   #5
Axey
Banned
 
Join Date: Jul 2013
Posts: 26
Reputation: -5
Default Re: Applying map to gamemode.

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!
Axey is offline   Reply With Quote
Old 20/07/2013, 05:14 PM   #6
Jstylezzz
High-roller
 
Jstylezzz's Avatar
 
Join Date: Sep 2011
Location: Netherlands
Posts: 1,860
Reputation: 1571
Default Re: Applying map to gamemode.

yeah, like this
pawn Code:
public OnGameModeInit()
{
//mapping code
}
Don't make a new public OnGameModeInit, but use the existing one.
Hope this helps
Jstylezzz is offline   Reply With Quote
Old 20/07/2013, 06:33 PM   #7
DJTunes
Huge Clucker
 
DJTunes's Avatar
 
Join Date: Dec 2012
Location: United States
Posts: 389
Reputation: 23
Default Re: Applying map to gamemode.

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


Interested in our community?
SA-MP IP: 74.201.57.64:7777
TS3 IP: 74.201.57.64
Forums: http://www.mc-gaming.net/forum.php
DJTunes is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applying animation on NPC. BaubaS Scripting Help 3 30/06/2013 12:25 AM
Applying a IF condition Mr.Faqahat Scripting Help 5 18/01/2013 11:46 AM
Issues having custom colors applied to gamemode vehicles after applying a paintjob XpanD Scripting Help 2 24/08/2011 02:01 PM
[HELP] Applying Animation Alvord Help Archive 15 11/05/2011 11:17 PM
Applying something on another player dLu Help Archive 8 22/10/2010 11:35 PM


All times are GMT. The time now is 02:01 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.