19.10.2012, 06:20
How Can i create a new spawn point for new players??
Help me!!
Help me!!
public OnPlayerRequestClass(playerid, classid) // Here are cordinates where you can request class { // Note: Change X , Y, Z with your cordinats SetPlayerPos(playerid, X, Y,Z); SetPlayerCameraLookAt(playerid, X, Y,Z); SetPlayerCameraPos(playerid, X, Y, Z); return 1; }
SetPlayerPos(playerid, X,Y,Z); // Change X , Y, Z with your cordinats SetPlayerFacingAngle(playerid, A); // Change A with Cordinates where you want your player to look in
public OnPlayerRequestClass(playerid, classid)
{ SetPlayerPos(playerid, X, Y,Z); return 1; } |