11.03.2015, 14:19
I think this should work, not sure though:
pawn Код:
if(IsPlayerAfk(i) && GetPVarInt(i, "notspawned") == 0)
{
if(afkvar[i] == 0 && !IsValidDynamic3DTextLabel(afk[i]) )
{
afk[i] = CreateDynamic3DTextLabel("Away / AFK", 0xEE0000AA, 0.0, 0.0, 1.3, 40.0, i, INVALID_VEHICLE_ID, 1, -1,-1, -1, 300.0);
afkvar[i] = 1;
}
}