SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Thread Tools Display Modes
Old 14/06/2019, 01:32 PM   #11
Big Clucker
SiaReyes's Avatar
Join Date: Mar 2019
Location: Coordinates X,Y,Z
Posts: 127
Reputation: 8
Default Re: Maps issue

Instead of using hooks, You can do this

In Map1.pwn, Map2.pwn and vice versa, use a function that contain maps and then call them in main.pwn under OnGamemodeInit()


In Map1.pwn
   // maps
So, like Map2.pwn CreateServerObjects2()

In main.pwn
public OnGamemodeInit()
  // So, as main.pwn is using streamer!
Join Modern Freeroam Discord
MF still hiring new staff contact Code#9776


Hostname: .::MF::. Freeroam/MiniGames/CS/CnR/GunGame/Race/APEX
SiaReyes is online now   Reply With Quote
Old 14/06/2019, 03:23 PM   #12
Little Clucker
Henson's Avatar
Join Date: Feb 2015
Location: C:\Users\Henson
Posts: 20
Reputation: 1
Default Re: Maps issue

Resolved, thank's SiaReyes
Henson is offline   Reply With Quote

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
[Map] Team DeathMatch Maps Pack (2 Maps) hossa Maps 4 01/07/2013 06:55 PM
How-To convert MTA maps to SA-MP maps smokeweed Scripting Help 5 13/01/2012 07:14 PM
[MAPS] 23 Original maps , + teleports,7733 objects, over 300 vehicles CLICK here Zh3r0 Filterscripts 50 16/06/2010 05:25 PM
****** Maps > San Andreas Maps? BMUK Help Archive 4 10/02/2010 04:26 PM
How to script maps, and or add maps to a server. MrXavier Help Archive 4 09/01/2010 04:50 PM

All times are GMT. The time now is 06:14 AM.

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