/ado CMD
#1

pawn Код:
CMD:ado(playerid, params[])
{
new string[128];
if(sscanf(params, "ds[128]", adoaction)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ado [action]");
else if(strlen(params) >= 50) return SendClientMessage(playerid, COLOR_GREY, "The specified message must not be longer than 49 characters in length.");

format(string, sizeof(string), CreateDynamic3DTextLabel, "* %s (( %s ))", params, GetPlayerNameEx(playerid));
return 1;
}
can fix please...and how to destroy too
Reply
#2

pawn Код:
CMD:ado(playerid, params[])
{
    new action[50];
    if(sscanf(params, "s[50]", action)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ado [action]");
    if(strlen(action) >= 50) return SendClientMessage(playerid, COLOR_GREY, "The specified message must not be longer than 49 characters in length.");
    new string[128], Float:X, Float:Y, Float:Z;
    format(string, sizeof(string), "* %s (( %s ))", action, GetPlayerNameEx(playerid));
    GetPlayerPos(playerid, X, Y, Z);
    CreateDynamic3DTextLabel(string, 0xFFFFFFC8, X, Y, Z, 30.0, playerid);
    return 1;
}
Reply
#3

Quote:
Originally Posted by lamarr007
Посмотреть сообщение
pawn Код:
CMD:ado(playerid, params[])
{
    new action[50];
    if(sscanf(params, "s[50]", action)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ado [action]");
    if(strlen(action) >= 50) return SendClientMessage(playerid, COLOR_GREY, "The specified message must not be longer than 49 characters in length.");
    new string[128], Float:X, Float:Y, Float:Z;
    format(string, sizeof(string), "* %s (( %s ))", action, GetPlayerNameEx(playerid));
    GetPlayerPos(playerid, X, Y, Z);
    CreateDynamic3DTextLabel(string, 0xFFFFFFC8, X, Y, Z, 30.0, playerid);
    return 1;
}
Any Pastebin Link's ?
Reply
#4

Quote:
Originally Posted by lamarr007
Посмотреть сообщение
pawn Код:
CMD:ado(playerid, params[])
{
    new action[50];
    if(sscanf(params, "s[50]", action)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ado [action]");
    if(strlen(action) >= 50) return SendClientMessage(playerid, COLOR_GREY, "The specified message must not be longer than 49 characters in length.");
    new string[128], Float:X, Float:Y, Float:Z;
    format(string, sizeof(string), "* %s (( %s ))", action, GetPlayerNameEx(playerid));
    GetPlayerPos(playerid, X, Y, Z);
    CreateDynamic3DTextLabel(string, 0xFFFFFFC8, X, Y, Z, 30.0, playerid);
    return 1;
}
its can destroyed text3dlabel again?
Reply
#5

bump
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)