21.02.2013, 23:14
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;
}

