SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: iNeo
Forum: Português/Portuguese 30/09/2017, 02:23 AM
Replies: 8,913
Sticky: [Ajuda] Dúvidas Curtas #1
Views: 955,892
Posted By iNeo
Re: Dúvidas Curtas #1

http://wiki.sa-mp.com/wiki/SetPlayerName

Diretamente do wiki: "Alterar o nome dos jogadores para o mesmo nome, mas com diferentes casos de caracteres (por exemplo, "John" para "JOHN") não...
Forum: Português/Portuguese 30/09/2017, 02:13 AM
Replies: 8,913
Sticky: [Ajuda] Dúvidas Curtas #1
Views: 955,892
Posted By iNeo
Re: Dúvidas Curtas #1

Não funfou...

new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));

SetPlayerName(playerid, capitalize(name));
format(PlayerInfo[playerid][pNick], MAX_PLAYER_NAME, name);
Forum: Português/Portuguese 30/09/2017, 01:52 AM
Replies: 8,913
Sticky: [Ajuda] Dúvidas Curtas #1
Views: 955,892
Posted By iNeo
Re: Dúvidas Curtas #1

Me ajudem por favor, quero formatar o nick do player caso tenha letra maiúscula quando ele logar digitando letra minúscula.

SetPlayerName(playerid, capitalize(PlayerInfo[playerid][pNick]));
...
Showing results 1 to 3 of 3

 

All times are GMT. The time now is 05:43 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.