[DUV] OnPlayerClickPlayer. -
JustinSton - 20.01.2010
Estou tendo ploblemas..
to tentando colocar quando o cara clicar no tab aparece o numero e o nome..
sistema retirado do 'godfather' para aprender como codar um gm do 0.
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
Code:
{
new giveplayerid, moneys, idx;
giveplayerid = ReturnUser(tmp);
GetPlayerName(giveplayerid, sendername, sizeof(sendername));
format(string, 256, "Nome: %s, Ph: %d",sendername,PlayerInfo[giveplayerid][pPnumber]);
SendClientMessage(playerid, COLOR_GRAD1, string);
return 1;
}
Erros:
Code:
(46265) : error: 017: undefined symbol "tmp"
(46265) : error: 017: undefined symbol "string"
(46265) : error: 017: undefined symbol "string"
(46265) : warning: 203: symbol is never used: "idx"
(46265) : warning: 203: symbol is never used: "moneys"
Re: [DUV] OnPlayerClickPlayer. -
chapolin1994 - 20.01.2010
voce quer que quando aperte TAB e clica no player e apareзa a opзгo.
SMS
LIGAR
. tals?
??
Re: [DUV] OnPlayerClickPlayer. -
JustinSton - 20.01.2010
Nгo,
Apensa apareзa no CHAT :
Nome: TAL Ph: TAL
esse treco de sms e tal, й um saco..
Re: [DUV] OnPlayerClickPlayer. -
Guilherme_Canani - 20.01.2010
Exclui esse new playayer sei la o que e add
new string [256];
Re: [DUV] OnPlayerClickPlayer. -
JustinSton - 20.01.2010
pora
desbuguei
sу que nгo ta vindo a mensagem T.T
Code:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
new tmp[256];
new string [256];
new giveplayerid;
giveplayerid = ReturnUser(tmp);
GetPlayerName(giveplayerid, sendername, sizeof(sendername));
format(string, 256, "Nome: %s, Ph: %d",sendername,PlayerInfo[giveplayerid][pPnumber]);
SendClientMessage(playerid, COLOR_GRAD1, string);
return 1;
}
Re: [DUV] OnPlayerClickPlayer. -
JustinSton - 20.01.2010
up
Re: [DUV] OnPlayerClickPlayer. -
chapolin1994 - 20.01.2010
Just , Por favor nгo de double post.
GRATO
Re: [DUV] OnPlayerClickPlayer. -
JustinSton - 20.01.2010
up d.
Re: [DUV] OnPlayerClickPlayer. -
SlashPT - 20.01.2010
Apaga isso tudo e meta isso
pawn Code:
{
new sendername[MAX_PLAYER_NAME];
new string[256];
GetPlayerName(clickedplayerid, sendername, sizeof(sendername));
format(string, 256, "Nome: %s, Ph: %d",sendername,PlayerInfo[giveplayerid][pPnumber]);
SendClientMessage(playerid, COLOR_GRAD1, string);
return 1;
}
Re: [DUV] OnPlayerClickPlayer. -
jcs14 - 21.01.2010
nem funfa esse dark