[AJUDA]Create3DTextLabel
#2

usa string tipo
pawn Код:
ve se funfa e me fala =X
CMD:criarlabel(playerid, params[])
{
           new Float:posX,
               Float:posY,
               Float:posZ;
           new texto[256];
           new string[256];
               
           if(sscanf(params, "s[256]", texto)) return SendClientMessage(playerid, Branco, "Use: /criarlabel [Texto]");
           
           GetPlayerPos(playerid, posX, posY, posZ );
           format(string, sizeof(string), "%s",texto);
           Create3DTextLabel(string, Amarelo, posX, posY, posZ, 40,0);
           GetPlayerName(playerid, NomedoCara, sizeof(NomedoCara));
           format(string, sizeof(string), "Vocк criou um TextLabel com a mensagem: %s",texto);
           SendClientMessage(playerid, Verde_Folha, string);
           return true;
}
ve se funfa e me fala =X
Reply


Messages In This Thread
[AJUDA]Create3DTextLabel - by [R] ousenber [K] - 08.06.2011, 15:54
Re: [AJUDA]Create3DTextLabel - by hitachi_uchila - 08.06.2011, 15:57
Re: [AJUDA]Create3DTextLabel - by [R] ousenber [K] - 08.06.2011, 15:59
Re: [AJUDA]Create3DTextLabel - by hitachi_uchila - 08.06.2011, 16:03

Forum Jump:


Users browsing this thread: 1 Guest(s)