[DUV] OnPlayerClickPlayer.
#1

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"
Reply


Messages In This Thread
[DUV] OnPlayerClickPlayer. - by JustinSton - 20.01.2010, 19:39
Re: [DUV] OnPlayerClickPlayer. - by chapolin1994 - 20.01.2010, 19:40
Re: [DUV] OnPlayerClickPlayer. - by JustinSton - 20.01.2010, 19:41
Re: [DUV] OnPlayerClickPlayer. - by Guilherme_Canani - 20.01.2010, 19:41
Re: [DUV] OnPlayerClickPlayer. - by JustinSton - 20.01.2010, 19:46
Re: [DUV] OnPlayerClickPlayer. - by JustinSton - 20.01.2010, 20:50
Re: [DUV] OnPlayerClickPlayer. - by chapolin1994 - 20.01.2010, 21:02
Re: [DUV] OnPlayerClickPlayer. - by JustinSton - 20.01.2010, 21:39
Re: [DUV] OnPlayerClickPlayer. - by SlashPT - 20.01.2010, 22:11
Re: [DUV] OnPlayerClickPlayer. - by jcs14 - 21.01.2010, 10:17

Forum Jump:


Users browsing this thread: 1 Guest(s)