[Ajuda] erros .-.
#5

Quote:
Originally Posted by Rato22
Посмотреть сообщение
PHP код:
if(strcmp(cmdtext"/doctor"true) == 0
{
new 
tmp[256], idxstring[128];
tmp strtok(paramsidx);
new 
id;
if(!
IsNumeric(tmp))
id ReturnPlayerID(tmp);
else
id strval(tmp);
if(
Player[playerid][pAdmin] < 1)
return 
SendClientMessage(playeridCOR_ERRO"ERRO: Vocк nгo tem permissгo para usar este comando!");
if(!
strlen(tmp))
return 
SendClientMessage(playeridCOR_USOCORRETO"Uso: /vervida [id]");
new 
Float:health;
GetPlayerHealth(id,health);
format(stringsizeof(string), "Vida do Player %s: %.1f"idhealth);
SendClientMessage(playerid0xE3E3E3FF,string);
return 
1;

mano se ta mando muitos codes com erros olha

C:\Projeto (CLS)\pawno\include\dof2.inc(1021) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Projeto (CLS)\pawno\include\dof2.inc(1051) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Projeto (CLS)\pawno\include\dof2.inc(1074) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Projeto (CLS)\pawno\include\dof2.inc(1134) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Projeto (CLS)\pawno\include\sscanf2.inc(305) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Projeto (CLS)\pawno\include\sscanf2.inc(305) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Projeto (CLS)\pawno\include\sscanf2.inc(365) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Projeto (CLS)\pawno\include\sscanf2.inc(365) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Projeto (CLS)\filterscripts\SystemAdmin.pwn(170) : error 010: invalid function or declaration
C:\Projeto (CLS)\filterscripts\SystemAdmin.pwn(174) : error 010: invalid function or declaration
C:\Projeto (CLS)\filterscripts\SystemAdmin.pwn(177) : error 010: invalid function or declaration
C:\Projeto (CLS)\filterscripts\SystemAdmin.pwn(179) : error 010: invalid function or declaration
C:\Projeto (CLS)\filterscripts\SystemAdmin.pwn(182) : error 010: invalid function or declaration
C:\Projeto (CLS)\filterscripts\SystemAdmin.pwn(183) : error 010: invalid function or declaration
C:\Projeto (CLS)\filterscripts\SystemAdmin.pwn(185) : error 010: invalid function or declaration
C:\Projeto (CLS)\filterscripts\SystemAdmin.pwn(186) : error 010: invalid function or declaration
C:\Projeto (CLS)\filterscripts\SystemAdmin.pwn(190) : error 021: symbol already defined: "GetPlayerHealth"
C:\Projeto (CLS)\filterscripts\SystemAdmin.pwn(192) : error 021: symbol already defined: "format"
C:\Projeto (CLS)\filterscripts\SystemAdmin.pwn(195) : error 010: invalid function or declaration
C:\Projeto (CLS)\filterscripts\SystemAdmin.pwn(310) : warning 203: symbol is never used: "health"
C:\Projeto (CLS)\filterscripts\SystemAdmin.pwn(310) : warning 203: symbol is never used: "id"
C:\Projeto (CLS)\filterscripts\SystemAdmin.pwn(310) : warning 203: symbol is never used: "idx"
C:\Projeto (CLS)\filterscripts\SystemAdmin.pwn(310) : warning 203: symbol is never used: "string"
C:\Projeto (CLS)\filterscripts\SystemAdmin.pwn(310) : warning 203: symbol is never used: "tmp"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


11 Errors.
Reply


Messages In This Thread
erros .-. - by GuilhermeNunes - 30.03.2017, 03:04
Re: erros .-. - by Rato22 - 30.03.2017, 03:13
Re: erros .-. - by GuilhermeNunes - 30.03.2017, 03:27
Re: erros .-. - by Rato22 - 30.03.2017, 03:50
Re: erros .-. - by GuilhermeNunes - 30.03.2017, 03:59
Re: erros .-. - by GuilhermeNunes - 31.03.2017, 15:12
Re: erros .-. - by JhefTFJ - 31.03.2017, 15:44
Re: erros .-. - by GuilhermeNunes - 31.03.2017, 15:51
Re: erros .-. - by ViniBorn - 31.03.2017, 16:14
Re: erros .-. - by GuilhermeNunes - 31.03.2017, 16:37

Forum Jump:


Users browsing this thread: 1 Guest(s)