SA-MP Forums Archive
[AJUDA] Comando /mascarar - 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] Comando /mascarar (/showthread.php?tid=317911)



[AJUDA] Comando /mascarar - andrecvv - 12.02.2012

Olб !
Entгo , estou com mais uma duvida ... o Forum da SA:MP esta sendo muito ъtil ...

O Comando й esse :
pawn Код:
if(!strcmp(cmdtext,"/mascarar",true))
{
for(new i = 0; i < MAX_PLAYERS; i++)
ShowPlayerNameTagForPlayer(playerid, i, false);
SendClientMessage(playerid,0xAFAFAFAA," Vocк Mascarou-se !");
}
return 1;
}
Porem , nгo compila . Hб algum Erro Nesse CMD ?
Fico no Aguardo , Thank's !



Re: [AJUDA] Comando /mascarar - isli27 - 12.02.2012

Nгo compila como ?
Da erro ou trava o pawno ?


Re: [AJUDA] Comando /mascarar - |_MeGaTroN_| - 12.02.2012

pawn Код:
if(!strcmp(cmdtext,"/mascarar",true))
{
for(new i = 0; i < MAX_PLAYERS; i++)
ShowPlayerNameTagForPlayer(playerid, i, false);
SendClientMessage(playerid,0xAFAFAFAA," Vocк Mascarou-se !");
return 1;
}



Re: [AJUDA] Comando /mascarar - Lucas_Alemao - 12.02.2012

sem saber os erros fica dificil nй, mas tenta assim:
pawn Код:
if(strcmp(cmdtext,"/mascarar",true) == 0)
{
     for(new i = 0; i < MAX_PLAYERS; i++)
     {
          ShowPlayerNameTagForPlayer(playerid, i, false);
          SendClientMessage(playerid,0xAFAFAFAA," Vocк Mascarou-se !");
     }
     return 1;
}



Re: [AJUDA] Comando /mascarar - andrecvv - 12.02.2012

O Erro й nas " } " , eu creio .
Esse erro estб comum no GM , na maioria das vezes й um erro bobo .
Porem , vou postar os erros ...
pawn Код:
s and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9721) : warning 219: local variable "plid" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9759) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9763) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9764) : warning 219: local variable "plid" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9803) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9807) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9808) : warning 219: local variable "plid" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9846) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9887) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9891) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9892) : warning 219: local variable "msg" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9909) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9913) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9914) : warning 219: local variable "msg" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9931) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9935) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9936) : warning 219: local variable "msg" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9953) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9957) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9958) : warning 219: local variable "msg" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9975) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9979) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9980) : warning 219: local variable "msg" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(9997) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10001) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10002) : warning 219: local variable "msg" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10020) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10024) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10025) : warning 219: local variable "msg" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10043) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10047) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10048) : warning 219: local variable "msg" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10065) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10069) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10070) : warning 219: local variable "msg" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10087) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10091) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10092) : warning 219: local variable "msg" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10109) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10113) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10114) : warning 219: local variable "msg" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10131) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10135) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10136) : warning 219: local variable "msg" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10152) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10156) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10157) : warning 219: local variable "msg" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10175) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10180) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10193) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10205) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10217) : warning 219: local variable "nome" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10229) : warning 219: local variable "aname" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10243) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10255) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10269) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10276) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10278) : error 021: symbol already defined: "GetPlayerName"
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10280) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10282) : error 021: symbol already defined: "format"
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10285) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10288) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10290) : error 021: symbol already defined: "aname"
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10293) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10295) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10299) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10303) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10304) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10306) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10309) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10314) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10315) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10317) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10321) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10323) : error 021: symbol already defined: "tmp"
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10324) : error 021: symbol already defined: "id"
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10326) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10328) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10331) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10335) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10336) : error 010: invalid function or declaration
C:\Documents and Settings\Andre\Meus documentos\bvv1.5final\codando.pwn(10338) : error 010: invalid function or declaration
@EDIT
Thank's Lucas , Compilou Certinho
й sу as posiзхes , esses erros sгo TENSOS !
Rep + For You !

---------------------------------------------------
Obrigado Tambem ao MegaTron , Rep + !


Re: [AJUDA] Comando /mascarar - isli27 - 12.02.2012

Creio eu que й sу trocar as variaveis de nome


Sei lб D: