3D Text Label Issue
#1

pawn Код:
#include <a_samp>
#include <zcmd>
#include <sscanf2>
#include <streamer>

#define SCM SendClientMessage
#define COLOR_LIGHTRED 0xFF6347AA

stock Text3D:CreateStreamed3DTextLabel(const string[], color, Float:posx, Float:posy, Float:posz, Float:draw_distance, virtualworld, testlos = 0)
{
    return CreateDynamic3DTextLabel(string, color, posx, posy, posz, draw_distance, INVALID_PLAYER_ID, INVALID_PLAYER_ID, testlos, virtualworld, -1, -1, 100.0);
}

CMD:label(playerid, params[])
{
    if(unformat(params,"s[128]",params)) return SCM(playerid, COLOR_LIGHTRED,"Usage: /test <text>");
    new Float:X,Float:Y,Float:Z;
    GetPlayerPos(playerid, X,Y,Z);
    CreateDynamic3DTextLabel(params, COLOR_LIGHTRED, X, Y, Z, 40.0, 0, 0);
    new Msg[128];
    format(Msg,sizeof(Msg),"3D Text Created!(Description: %s)",params);
    SendClientMessage(playerid, COLOR_LIGHTRED,Msg);
    return 1;
}
Whats wrong with this?

If I remove "dynamic" from the label it works perfectly... but dynamic labels aint working?!??!?!
Reply


Messages In This Thread
3D Text Label Issue - by UnknownGamer - 07.05.2013, 15:19
Re: 3D Text Label Issue - by DiGiTaL_AnGeL - 07.05.2013, 16:25
Re: 3D Text Label Issue - by Yashas - 07.05.2013, 16:32

Forum Jump:


Users browsing this thread: 1 Guest(s)