SA-MP Forums Archive
/ado CMD - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /ado CMD (/showthread.php?tid=372776)



/ado CMD - Scott Zulkifli - 28.08.2012

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


Re: /ado CMD - lamarr007 - 28.08.2012

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



Re: /ado CMD - rahmatjulian - 28.08.2012

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 ?


Re: /ado CMD - Scott Zulkifli - 28.08.2012

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?


Re: /ado CMD - ridholie - 01.02.2013

bump