gTeam saving
#5

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;
}
Reply


Messages In This Thread
gTeam saving - by krisis32 - 17.06.2011, 13:03
Re: gTeam saving - by krisis32 - 17.06.2011, 15:25
AW: gTeam saving - by Nero_3D - 17.06.2011, 16:11
Re: gTeam saving - by krisis32 - 17.06.2011, 16:53
Re: gTeam saving - by DRIFT_HUNTER - 17.06.2011, 16:57
Re: gTeam saving - by Seven_of_Nine - 17.06.2011, 17:00
Re: gTeam saving - by krisis32 - 17.06.2011, 17:19

Forum Jump:


Users browsing this thread: 2 Guest(s)