03.06.2014, 20:02
Hello, Can someone comment the steps on how to add mapping? Thank you!
forward mappings(playerid); //Any name you want
public mappings(playerid) { //mappings here return 1; }
public OnPlayerConnect(playerid) { mappings(playerid); return 1; }
What? That will create the same objects every time a player connects.
First, read some documentation about this if you have to load more than 1000 objects at once: Streamer Plugin. Then, you can just place the "CreateObject" or "CreateDynamicObject" codes (the ones you get from "Show Code" in Map Editor) under OnGameModeInit. |