07.02.2014, 11:16
Quote:
Варнинг tag mismatch при первом и втором случае. Либо я что то не понял.
|
Код:
SetPVarInt(playerid, "Text3D", Text3D:Create3DTextLabel....);
Код:
SetPVarInt(playerid, "Text3D", PlayerText3D::CreatePlayer3DTextLabel....);
Код:
new Text3D:label[MAX_PLAYERS]; public OnPlayerConnect(playerid) { label[playerid] = Create3Dtext... return 1; } public OnPlayerDisconnect(playerid, reason) { if(label != Text3D:INVALID_3DTEXT_ID) { Delete3DtextBlabla(label[playerid]); label[playerid] = Text3D:INVALID_3DTEXT_ID; } return 1; }