Criar Uma 3DTextLabel em qualquer posiзгo -
Xapita_Halls - 20.01.2011
>>>

<<<
Faзam bom proveito disso eu que fiz por diversгo

.: Pastebin :.
Clique aqui
Ou Download:
Crйditos:
Xapita_Halls
Re: Criar Uma 3DTextLabel em qualquer posiзгo -
Trinix_PoS [Bizu] - 20.01.2011
simples mais bom parabens
Re: Criar Uma 3DTextLabel em qualquer posiзгo -
Xapita_Halls - 20.01.2011
Valeu Trinix
Re: Criar Uma 3DTextLabel em qualquer posiзгo -
[FeK]Knife - 20.01.2011
Bom Codigo.
Eu achei mais como um Codigo do que um FilterScript :S
Eu acharia que seria mais consideral como FilterScript se tipo , o cara pudesse digitar na POS , exemplo /ver3dlabel Drakon Owna.
Exemplo sу
Re: Criar Uma 3DTextLabel em qualquer posiзгo -
Trinix_PoS [Bizu] - 20.01.2011
Denada Xapita
Re: Criar Uma 3DTextLabel em qualquer posiзгo -
Xapita_Halls - 20.01.2011
Valeu, й que eu nгo sei fazer o cara digiter e gerar o texto em 3dlabel :S
Respuesta: Criar Uma 3DTextLabel em qualquer posiзгo -
ipsBruno - 20.01.2011
fCommand:
pawn Код:
#include <a_samp>
#define COR_MSG 0xFFAF00FF
#define fcmd(%1,%2) \
forward fcmd_%1(%2); \
public fcmd_%1(%2)
#define MaxFrequence (025)
#define MaxParameter (064)
#define MaxFunctions (032)
#define MaxLenString (128)
new
sIndex = 0,
iLenPart = 0,
iPosPart = 0,
iStrMid = 0,
iLenght = 0,
iParams[ MaxFrequence ][ MaxParameter ],
cmds[ MaxFunctions ]
;
public OnPlayerCommandText(playerid,cmdtext[])
return DelimiterCommand(playerid,cmdtext,iParams);
stock
DelimiterCommand(playerid,sStringSource[], sStringDetination[][])
{
iLenght = strlen(sStringSource);
sIndex = 0;
iLenPart = 0;
iPosPart = 0;
iStrMid = 0;
format(cmds,MaxLenString,sStringSource[1]);
while(sIndex <= iLenght)
{
if(sStringSource[sIndex] == ' ' || sIndex == iLenght)
{
iStrMid = strmid(sStringDetination[iPosPart], sStringSource, iLenPart, sIndex, 128);
sStringDetination[iPosPart][iStrMid] = 0,iLenPart = (sIndex + 1), ++iPosPart;
}
++sIndex;
}
if(iPosPart != 0)
format(cmds,MaxFunctions,"fcmd_%s",iParams[0][1]);
return CallLocalFunction(cmds,"i",playerid);
}
///// COMANDO DE CRIAR LABEL /////////////
fcmd(label,playerid)
{
if(!iParams[1] || iParams[2])
SendClientMessage(playerid,COR_MSG,"/label [name]");
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z );
Create3DTextLabel(iParams[1],COR_MSG, X,Y,Z, 40,0);
SendClientMessage(playerid,COR_MSG,iParams[1]);
SendClientMessage(playerid,COR_MSG,"Criado!");
return true;
}
/label [name]
Re: Criar Uma 3DTextLabel em qualquer posiзгo - rjjj - 20.01.2011
Bem Legal, me lembra a funзгo /save do SA-MP
Quote:
Originally Posted by Xapita_Halls
Valeu, й que eu nгo sei fazer o cara digiter e gerar o texto em 3dlabel :S

|
Entгo, se puder, recomendo que veja meu tutorial sobre KcmD (estб na minha assinatura), nele eu explico bem como criar um comando de qualquer tipo
Re: Criar Uma 3DTextLabel em qualquer posiзгo -
Xapita_Halls - 20.01.2011
uhaiusah vlw drakinss nem sabia
Respuesta: Criar Uma 3DTextLabel em qualquer posiзгo -
ipsBruno - 20.01.2011
@rjjj
Nгo,fCmd й MUITO rбpido, a ponto de ser 10x a 25x mais rбpido que seu sistema baseado em strtok