[Ajuda] Ajuda level - 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] Ajuda level (
/showthread.php?tid=631977)
Ajuda level -
ClaudioG231 - 07.04.2017
como й que mudo o nivel inicial ? ja procurei e nao encontro
Re: Ajuda level -
ViniBorn - 07.04.2017
Acha seu sistema de registro, e "siga-o".
Comeзa procurando em OnPlayerConnect, OnPlayerRequestSpawn, etc
Re: Ajuda level -
ClaudioG231 - 07.04.2017
public OnPlayerConnect(playerid)
{
new szPlayerName[MAX_PLAYER_NAME], connecting_ip[24];
GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
format(file2, sizeof(file2), PASTA_CONTAS, encrypt(szPlayerName)); // Criptografado
format(file, sizeof(file), PASTA_CONTAS, szPlayerName);
format(Vnewban, 32, BanDir, VBPlayer(playerid));
Re: Ajuda level -
AuhMaru - 07.04.2017
Coloque quando o player registrar.
Код:
SetPlayerScore(playerid, VALOR_DO_LEVEL);//Substitua "VALOR_DO_LEVEL" pelo valor que vфce queira que inicie.
Re: Ajuda level -
HoodScript - 07.04.2017
Quote:
Originally Posted by ClaudioG231
public OnPlayerConnect(playerid)
{
new szPlayerName[MAX_PLAYER_NAME], connecting_ip[24];
GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
format(file2, sizeof(file2), PASTA_CONTAS, encrypt(szPlayerName)); // Criptografado
format(file, sizeof(file), PASTA_CONTAS, szPlayerName);
format(Vnewban, 32, BanDir, VBPlayer(playerid));
|
esta gm й a dten ?
Re: Ajuda level -
ClaudioG231 - 07.04.2017
Й sim a gm dten