Can somebody help me out with 3dlabel?
#1

pawn Код:
CMD:addtexttoplayer(playerid, params[])
{
    new pID;
    new str[246];
    new string[246];
    new text[246];

    if(sscanf(params,"us", pID,str,text)) return SendClientMessage(playerid, -1, "USAGE: /addtexttoplayer [playerid/playername] [text]");
    else if(!IsPlayerConnected(pID)) return SendClientMessage(playerid, -1, "That player is not online.");

    new Text3D:label = Create3DTextLabel(text, 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
    format(string,sizeof(string), "Create3DTextLabel(\"%s\", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);",text);
    Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
    return 1;
}
Not working :/
Reply


Messages In This Thread
Can somebody help me out with 3dlabel? - by Alex_Obando - 31.10.2013, 19:55
Re: Can somebody help me out with 3dlabel? - by DanishHaq - 31.10.2013, 20:02
Respuesta: Can somebody help me out with 3dlabel? - by Alex_Obando - 31.10.2013, 20:07
Re: Can somebody help me out with 3dlabel? - by Pottus - 31.10.2013, 20:19

Forum Jump:


Users browsing this thread: 1 Guest(s)