17.06.2011, 16:57
Try to add on player request class
pawn Код:
public OnPlayerRequestClass(playerid,classid)
{
new pname[128];
new file[128];
GetPlayerName(playerid, pname, sizeof(pname));
format(file, sizeof(file), saves,pname);
if(dini_Exists(file))
{
SpawnPlayer(playerid);
}
else
{
// code for request class as SetPlayerCameraPos
}
return 1;
}