22.06.2018, 15:16
So i have found that it occurs in my server only when i have a mask equipped.
When i have a mask equipped and relog, it automatically equips it.
The problem doesn't happen when i don't have a mask equipped.
Could it be related to the code?
If so, here is the code i use might any one have suggestions.
When i have a mask equipped and relog, it automatically equips it.
The problem doesn't happen when i don't have a mask equipped.
Could it be related to the code?
If so, here is the code i use might any one have suggestions.
PHP код:
if(PlayerInfo[playerid][pMask]==1)
{
SetPlayerAttachedObject(playerid,9,19036,2,0.093999,0.026000,-0.004999,93.800018,82.199951,-3.300001,1.098000,1.139999,1.173000);
format(playerlabelstr[playerid], 128, "Masked Person\n%s(%d)", GetName(playerid), playerid);
} else {
format(playerlabelstr[playerid], 128, "%s\n%s(%d)", CharacterName[playerid], GetName(playerid), playerid);
}