09.08.2016, 08:27
Well that works for me
anyway try this:
anyway try this:
PHP код:
public OnPlayerSpawn(playerid)
{
SetTimerEx("spawn", 100, false, "i", playerid);
return 1;
}
forward spawn(playerid);
public spawn(playerid)
{
new str[35], pname[24];
GetPlayerName(playerid, pname, sizeof(pname));
format(str, sizeof(str), "pos/%s.ini", pname);
INI_ParseFile(str, "playerpos_%s", .bExtra = true, .extra = playerid);
SetPlayerPos(playerid, ppos[playerid][X], ppos[playerid][Y], ppos[playerid][Z]);
return 1;
}