Цитата Сообщение от naryv Посмотреть сообщение
Hi Banks!


Now in single mission there would be event OnUserCreateUserLabel(GPUserLabel ul) after you make gpDrawUserLabel(), but it really don't display, this is bug ( hope it would be fixed with next patch, we didn't test it this way in single). But it should work in online missions, displaying labels for users thats not a server, i mean client players would get displayed labels, server player wouldn't.
Sorry it doesn't work with single player and dedicated server. gpMakeUserLabel does create a label object (at least it doesn't return null), however gpDrawUserLabel doesn't have any effect, the label created by gpMakeUserLabel is not drawn for the client player. Note that I use the same player in gpMakeUserLabel and gpDrawUserLabel. Maybe it is only possible to draw labels with gpDrawUserLabel that were created by different players?