sscanf error
#4

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;
}
Reply


Messages In This Thread
sscanf error - by Lidor124 - 28.02.2014, 15:25
Respuesta: sscanf error - by CuervO - 28.02.2014, 15:27
Re: sscanf error - by Konstantinos - 28.02.2014, 15:29
Re: sscanf error - by UnknownGamer - 28.02.2014, 16:02

Forum Jump:


Users browsing this thread: 1 Guest(s)