15.10.2011, 23:57
When ever a player JOINS everyone respawns its Driving me nuts This is UNDER OnPlayerReQuestClass
SetTimer("TimeSpawn", 50, false); //Spawn Player Last Position
Everyone Spawns In BlueBerry......
SetTimer("TimeSpawn", 50, false); //Spawn Player Last Position
pawn Код:
forward TimeSpawn(playerid);
public TimeSpawn(playerid)
{
new name[MAX_PLAYER_NAME], file[256];
GetPlayerName(playerid, name, sizeof(name));
format(file, sizeof(file), ARS_ACCOUNTS, name);
SetPlayerSkin(playerid, dini_Int(file, "Character"));
SetPlayerPos(playerid, dini_Float(file, "LocX"),dini_Float(file,"LocY"),dini_Float(file,"LocZ"));
SetPlayerFacingAngle(playerid,dini_Float(file,"LocA"));
SetPlayerInterior(playerid,dini_Int(file,"LocI"));
return 1;
}