Scripting problem.
#1

Hey, me and my homie are setting up a server soon, dm server to be exact, but at the time, we're having a little issue with the script. Its a TDM / minigame server, and when you join, maps are going around, so when the player connects, how do you make sure that he connects to the place where the others players are, instead of spawning at one of the 10other maps :O ?

Thanks.
Reply
#2

Get the coordinates for the location you want the player to spawn, and under
pawn Код:
public OnPlayerSpawn
, make a
pawn Код:
SetPlayerPos(playerid, coords);
Reply
#3

ouжio
Reply
#4

lmfao i suggest learning to script before trying to script minigames and other more complex things with your "homie"
Reply
#5

its easy u need some map variables for each map so it sets them to the map ur playing
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)