[AJUDA] erro iniciante - 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] erro iniciante (
/showthread.php?tid=341814)
[AJUDA] erro iniciante -
mengueh - 12.05.2012
pawn Код:
if (strcmp("/armas1", cmdtext, true, 10) == 0)
{
new nome[24];
GetPlayerName(playerid, nome, sizeof(nome));
SendClientMessageToAll(GREEN, "O jogador %s pegou o kit 1 de armas", nome);
return 1;
}
Qualй o problema?
Re: [AJUDA] erro iniciante -
Coreia - 12.05.2012
pawn Код:
if (strcmp("/armas1", cmdtext, true, 10) == 0)
{
new nome[24];
GetPlayerName(playerid, nome, sizeof(nome));
format(string,sizeof(string),"o jogador %s pegiu o kit de armas",nome);
SendClientMessageToAll(GREEN,string);
return 1;
}
Re: [AJUDA] erro iniciante -
mengueh - 12.05.2012
Quote:
Originally Posted by Coreia
pawn Код:
if (strcmp("/armas1", cmdtext, true, 10) == 0) { new nome[24]; GetPlayerName(playerid, nome, sizeof(nome)); format(string,sizeof(string),"o jogador %s pegiu o kit de armas",nome); SendClientMessageToAll(GREEN,string);
return 1; }
|
Digito o comando e o servidor fecha.
Re: [AJUDA] erro iniciante -
zSuYaNw - 12.05.2012
pawn Код:
if(!strcmp("/armas1", cmdtext, true))
{
new nome[24], stri[100];
GetPlayerName(playerid, nome, sizeof(nome));
format(stri, sizeof(stri),"O jogador %s pegou o kit 1 de armas", nome);
SendClientMessageToAll(-1, stri);
return 1;
}
=)
Re: [AJUDA] erro iniciante -
mengueh - 12.05.2012
Quote:
Originally Posted by [Full]Garfield[XDB]
pawn Код:
if(!strcmp("/armas1", cmdtext, true)) { new nome[24], stri[100]; GetPlayerName(playerid, nome, sizeof(nome)); format(stri, sizeof(stri),"O jogador %s pegou o kit 1 de armas", nome); SendClientMessageToAll(-1, stri); return 1; }
=)
|
Vlw (: