Pawn.RakNet - SetPlayerNameForPlayer -
KoloradO - 23.05.2018
Porque diabos essa funзгo nгo funciona?
Code:
SetPlayerNameForPlayer(playerid, toplayerid, name[])
{
new BitStream:bs = BS_New(), size = strlen(name);
BS_WriteValue(
bs,
PR_UINT16, playerid,
PR_UINT8, size,
PR_STRING, name
);
BS_RPC(bs, toplayerid, 11);
BS_Delete(bs);
return 1;
}
Re: Pawn.RakNet - SetPlayerNameForPlayer -
Cycle - 23.05.2018
https://sampforum.blast.hk/showthread.php?tid=650287
Re: Pawn.RakNet - SetPlayerNameForPlayer -
KoloradO - 23.05.2018
Quote:
Originally Posted by Cycle
|
idai ?
Re: Pawn.RakNet - SetPlayerNameForPlayer -
ipsLuan - 23.05.2018
http://forum.sa-mp.com/showpost.php?...60&postcount=6
Re: Pawn.RakNet - SetPlayerNameForPlayer -
KoloradO - 23.05.2018
Eu nгo uso nenhuma modificaзгo. Eu jб abri um servidor sem nada apenas com SetPlayerNameForPlayer e mesmo assim nгo funcionou.
Re: Pawn.RakNet - SetPlayerNameForPlayer -
rjjj - 23.05.2018
Nгo sei, mas recomendo usar a funзгo
SetPlayerNameForPlayer deste plugin, que jб й robusto e consolidado no SA-MP, alйm de ser frequentemente atualizado

:
https://sampforum.blast.hk/showthread.php?tid=513499
Qualquer coisa, peзa ajuda para os criadores desses plugins de memory hacking. Se houver algum problema no cуdigo deles, sabendo disso eles devem corrigн-lo em versхes futuras.
Espero ter ajudado

.
Re: Pawn.RakNet - SetPlayerNameForPlayer -
KoloradO - 31.05.2018
Quote:
Originally Posted by rjjj
Nгo sei, mas recomendo usar a funзгo SetPlayerNameForPlayer deste plugin, que jб й robusto e consolidado no SA-MP, alйm de ser frequentemente atualizado  :
https://sampforum.blast.hk/showthread.php?tid=513499
Qualquer coisa, peзa ajuda para os criadores desses plugins de memory hacking. Se houver algum problema no cуdigo deles, sabendo disso eles devem corrigн-lo em versхes futuras.
Espero ter ajudado  .
|
Mas esse plugin tem muita coisa, nгo vou usar 1 plugin desse sу pra usar uma funзгo. Alйm disso eu tentei e nгo funciona na 0.3 DL.
Por favor alguйm me ajuda resolver isso do SetPlayerNameForPlayer
Re: Pawn.RakNet - SetPlayerNameForPlayer -
PT - 31.05.2018
Como a Jelly ja te tinha dito aparentemente nao tem erro nenhum na funcao mas talvez na sua utilizacao reveja ai o gm e vera que encontra o seu problema.
Re: Pawn.RakNet - SetPlayerNameForPlayer -
KoloradO - 31.05.2018
Este й meu gamemode teste
Code:
#include <a_samp>
#include <Pawn.RakNet>
public OnPlayerUpdate(playerid)
{
new str[24];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(i != playerid)
{
format(str, 24, "Player_%d", i);
SetPlayerNameForPlayer(i, playerid, str);
}
}
return 1;
}
stock SetPlayerNameForPlayer(playerid, toplayerid, const name[])
{
new BitStream:bs = BS_New(), size = strlen(name);
BS_WriteValue(
bs,
PR_UINT16, playerid,
PR_UINT8, size,
PR_STRING, name
);
BS_RPC(bs, toplayerid, 11);
BS_Delete(bs);
return 1;
}
Re: Pawn.RakNet - SetPlayerNameForPlayer -
Cycle - 01.06.2018
Verifique se vocк estб usando o mesmo script que estб providenciando, a funзгo nгo hб erro algum.