Dynamic 3d text
#2

What you were missing was the X Y Z for the command. It did not know where to put your 3Dtext, so it didnt make one.. Try this

pawn Код:
//You must have these includes
#include <a_samp>
#include <zcmd>
#include <sscanf2>
#include <streamer>

//In-between a command, or at the bottom of the script
CMD:test(playerid, params[])
{
    if(unformat(params,"s[128]",params)) return SendClientMessage(playerid, COLOR_RED2,"Usage: /test <text>");
    new Float:X,Float:Y,Float:Z;
    GetPlayerPos(playerid, X,Y,Z);
    CreateDynamic3DTextLabel(params, COLOR_RED2, X, Y, Z, 40.0, 0, 0);
    new Msg[128];
    format(Msg,sizeof(Msg),"3D Text Created!(Description: %s)",params);
    SendClientMessage(playerid, COLOR_RED2,Msg);
    return 1;
}
Reply


Messages In This Thread
Dynamic 3d text - by thefatshizms - 21.02.2013, 22:26
Re: Dynamic 3d text - by Krakuski - 21.02.2013, 23:14
Re: Dynamic 3d text - by [CG]Milito - 21.02.2013, 23:31
Re: Dynamic 3d text - by thefatshizms - 22.02.2013, 20:33

Forum Jump:


Users browsing this thread: 1 Guest(s)