[AJUDA] Comando /mascarar
#1

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 !
Reply
#2

Nгo compila como ?
Da erro ou trava o pawno ?
Reply
#3

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;
}
Reply
#4

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;
}
Reply
#5

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 + !
Reply
#6

Creio eu que й sу trocar as variaveis de nome


Sei lб D:
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)