19.03.2013, 03:24
I need help with that, when i register and choose class like cop then i disconnect and connect and im in class selection again, how to make it that i wont be on class selection again and will be spawned automaticly with skin i choose before?
Код:
public LoadUser_data(playerid, name[], value[]) { INI_String("pPass", PlayerInfo[playerid][pPass], 129); INI_Int("aLevel", PlayerInfo[playerid][aLevel]); INI_Int("vLevel", PlayerInfo[playerid][vLevel]); INI_Int("pCash", PlayerInfo[playerid][pCash]); INI_Int("pScore", PlayerInfo[playerid][pScore]); INI_Int("pKills", PlayerInfo[playerid][pKills]); INI_Int("pDeaths", PlayerInfo[playerid][pDeaths]); INI_Int("pHoldups", PlayerInfo[playerid][pHoldups]); INI_Int("pCrimes", PlayerInfo[playerid][pCrimes]); INI_Int("pFined", PlayerInfo[playerid][pFined]); INI_Int("pArrests", PlayerInfo[playerid][pArrests]); INI_Int("pTakedowns", PlayerInfo[playerid][pTakedowns]); INI_Int("pTickets", PlayerInfo[playerid][pTickets]); INI_Int("pRope", PlayerInfo[playerid][pRope]); INI_Int("pPaintCan", PlayerInfo[playerid][pPaintCan]); INI_Int("pScissors", PlayerInfo[playerid][pScissors]); INI_Int("pKits", PlayerInfo[playerid][pKits]); INI_Int("vLock", PlayerInfo[playerid][vLock]); INI_Int("Helper", PlayerInfo[playerid][Helper]); INI_Int("hHelper", PlayerInfo[playerid][hHelper]); INI_Int("pJoins", PlayerInfo[playerid][pJoins]); INI_Int("pMaterials", PlayerInfo[playerid][pMaterials]); INI_Int("pWarns", PlayerInfo[playerid][pWarns]); INI_Int("pKicks", PlayerInfo[playerid][pKicks]); INI_Int("Banned", PlayerInfo[playerid][Banned]); INI_Int("jTime", PlayerInfo[playerid][jTime]); INI_Float("pArmour", PlayerInfo[playerid][pArmour]); INI_Float("pHealth", PlayerInfo[playerid][pHealth]); INI_Int("pWanted", PlayerInfo[playerid][pWanted]); INI_Int("cTime", PlayerInfo[playerid][cTime]); return 1; }