HELP HELP
#1

I dont know what it is but when a player Connects ID 0 always respawns ...... Someone please Help me...

pawn Код:
forward SpawnLastSaved(playerid);
public SpawnLastSaved(playerid)
{
    new name[MAX_PLAYER_NAME], file[256];
    GetPlayerName(i, name, sizeof(name));
    format(file, sizeof(file), ARS_ACCOUNTS, name);
    SetPlayerPos(i, dini_Float(file, "LocX"),dini_Float(file,"LocY"),dini_Float(file,"LocZ"));
    SetPlayerFacingAngle(i,dini_Float(file,"LocA"));
    SetPlayerInterior(i,dini_Int(file,"LocI"));
    SpawnPlayer(i);
    return 1;
}
Reply


Messages In This Thread
HELP HELP - by Buzzbomb - 14.10.2011, 10:06
Re: HELP HELP - by PowerPC603 - 14.10.2011, 10:33
Re: HELP HELP - by Buzzbomb - 14.10.2011, 10:51

Forum Jump:


Users browsing this thread: 1 Guest(s)