SA-MP Forums Archive
[Ajuda] RG - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] RG (/showthread.php?tid=309372)



[Ajuda] RG - Vitor_Marfioso - 07.01.2012

A forma do Meu RG й assim
pawn Код:
SendClientMessage(playerid, COLOR_WHITE, " Seu Registro Geral ");
Mais eu queria que aparece-se o nome do player que estб olhando assim Exeplo: Registro Geral de (Seu nome),
como faz isso mesmo?


AW: [Ajuda] RG - Enderman - 07.01.2012

pawn Код:
new s[50],n[24];
GetPlayerName(playerid,n,24);
format(s,50,"Registro geral de %s",n);
SendClientMessage(COLOR_WHITE,s);