13.01.2017, 08:58
Hi all, i have a problem with login system, This is how it looks like. http://imgur.com/S0Xsduc
It should show me when i join the server my level, donator rank, job [posao], organisation [organizacija]. As you can see level and donator rank are 0 although i am 30 level and donator rank 5 or so. Also i have a job and i am in organisation but it does not shows me my job and my organisation.
It should show me when i join the server my level, donator rank, job [posao], organisation [organizacija]. As you can see level and donator rank are 0 although i am 30 level and donator rank 5 or so. Also i have a job and i am in organisation but it does not shows me my job and my organisation.
Код:
//I put this on OnPlayerConnect PlayerTextDrawSetPreviewModel(playerid,LoginRegs5[playerid], GetPlayerSkin(playerid)); PlayerTextDrawShow(playerid,LoginRegs5[playerid]); new imea[50]; format(imea,sizeof(imea),"%s",GetName(playerid)); PlayerTextDrawSetString(playerid,LoginRegs13[playerid], imea); PlayerTextDrawShow(playerid,LoginRegs13[playerid]); new levela[50]; format(levela,sizeof(levela),"%d",PlayerInfo[playerid][pLevel]); PlayerTextDrawSetString(playerid,LoginRegs14[playerid], levela); PlayerTextDrawShow(playerid,LoginRegs14[playerid]); new posoooo[50]; format(posoooo,sizeof(posoooo),"%s",PlayerInfo[playerid][pJob]); PlayerTextDrawSetString(playerid,LoginRegs16[playerid], posoooo); PlayerTextDrawShow(playerid,LoginRegs16[playerid]); new orgaz[50]; format(orgaz,sizeof(orgaz),"%s",PlayerInfo[playerid][pMember]); PlayerTextDrawSetString(playerid,LoginRegs17[playerid],orgaz); PlayerTextDrawShow(playerid,LoginRegs17[playerid]); new dona[50]; format(dona,sizeof(dona),"%d",PlayerInfo[playerid][pVip]); PlayerTextDrawSetString(playerid,LoginRegs15[playerid],dona); PlayerTextDrawShow(playerid,LoginRegs15[playerid]);