Spawn at previous location problem
#1

Hey guys i got my position saving etc. all setup but how do i make it so that whenever the player joins, it will set his pos to the saved coords? (No class selection, standard skinid: 1) script: http://pastebin.com/VD2TKhni
Reply
#2

Add:

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SpawnPlayer(playerid);
    return 1;
}
//I don't know if this is being called when entering the class selection...worth a try anyway. ^^
If this doesn't work, try to use SpawnPlayer at OnPlayerConnect, and if this also does not work, set a short timer at OnPlayerConnect which will then call SpawnPlayer.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)