How to Change Spawn Point when Login or Register
#1

Aigh, the Title says all so, how to change that, its on the GAMEMODE? or in other folder.. i want the line, to put the a new spawn for my server..


Thank you!
Reply
#2

OnPlayerRequestClass, change those coordinates to yours.

also do

SetPlayerPos( playerid, yourxcoord, yourycoord, yourzcoord ); at onplayerspawn.
Reply
#3

there is something on In .pwn file:-

OnDialogResponse
{
if(dialogid == DIALOG_LOGIN)
{
if(success)
{
SetPlayerPos(playerid, x, y, z);
}
}
return 1;
}
Reply
#4

OnDialogResponse when player's Login/Register dialog is success then spawn him, simple as that.

Код:
SetPlayerPos(playerid,Float:x,Float:y,Float:z);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)