28.02.2014, 16:02
Get YCMD + SSCANF2, and do use this:
pawn Код:
#define COLOR_1 0x0099FFAA
#define SCM SendClientMessage
YCMD:acam(playerid, params[], help)
{
if(help) return SCM(playerid, COLOR_GREY, "Not supported");
new string[128], Float:x, Float:y, Float:z;
if(isnull(params)) return SCM(playerid, COLOR_1, "USAGE: /CreateText [text]");
GetPlayerPos(playerid,x,y,z);
format(string, sizeof(string), "%s", params);
Create3DTextLabel(string, COLOR_1, x, y, z, 40.0, 0, 0);
return 1;
}

