Im presuming this so dont get mad if I got this wrong :P
You got a SetPlayerPos under OnPlayerSpawn?
Add this
PHP код:
public OnPlayerSpawn(playerid) {
if(GetPVarInt(playerid, "Spawned") == 0) {
SetPlayerPos(playerid, SOMETHING,SOMETHING,SOMETHING);
//other lines you only want to happen at first spawn.
SetPVarInt(playerid,"Spawned", 1);
}
return 1;
}
Or use this for stuff you want to happen when he has spawned in first time already:
PHP код:
public OnPlayerSpawn(playerid) {
if(GetPVarInt(playerid, "Spawned") == 0) {
SetPlayerPos(playerid, SOMETHING,SOMETHING,SOMETHING);
//other lines you only want to happen at first spawn.
SetPVarInt(playerid,"Spawned", 1);
return 1;
}
SetPlayerPos(playerid, SOMETHING,SOMETHING,SOMETHING);
//other lines you want to happen if he already spawned in once.
return 1;
}