22.03.2015, 12:57
I don't know if it may be limit related, but 3d labels started to dissapear or latter not appear at all. For 3d label creating i use only streamer.
Creating label:
Created in dialog response:
This works works at server start, but latter after like half a hour starts dissapearing after 1 - 10seconds when being created. Sometimes the 3d label starts blinking..
Any suggestions?
Creating label:
pawn Код:
new Text3D:Taxi[MAX_VEHICLES];
pawn Код:
new error[128];
format(error,sizeof(error),"{ffe100}price:{ffffff} %iЂ",strval(inputtext));
new vID = GetPlayerVehicleID(playerid);
Taxi[vID] = CreateDynamic3DTextLabel(error, 0xdddda6FF, 0, 0, 0.2, 20, INVALID_PLAYER_ID, vID, 1, -1, -1, -1, 20);
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_ONFOOT && oldstate == PLAYER_STATE_DRIVER)
{
new vidas = GetPlayerVehicleID(playerid);
if(IsValidDynamic3DTextLabel(Taxi[vidas])) DestroyDynamic3DTextLabel(Taxi[vidas]);
}
}
Any suggestions?