[Ajuda] Como tirar esses Erros?
#1

ola Gente no gm aki ta dando esses erros :

C:\Documents and Settings\Pablo\Meus documentos\downloads\GameModes\gamemodes\BPN.pwn(6 2255) : warning 219: local variable "xx" shadows a variable at a preceding level
C:\Documents and Settings\Pablo\Meus documentos\downloads\GameModes\gamemodes\BPN.pwn(6 2255) : warning 219: local variable "yy" shadows a variable at a preceding level
C:\Documents and Settings\Pablo\Meus documentos\downloads\GameModes\gamemodes\BPN.pwn(6 2255) : warning 219: local variable "zz" shadows a variable at a preceding level
C:\Documents and Settings\Pablo\Meus documentos\downloads\GameModes\gamemodes\BPN.pwn(6 3377) : warning 209: function "OnPlayerKeyStateChange" should return a value

Como eu arrrumo?

PHP код:
stock AddFlitsPaal(playeridmodelidFloat:xxFloat:yyFloat:zzradiusspeed)

PHP код:
public ScoreLevel(playerid)
{
    new 
LevScore;
    
LevScore PlayerInfo[playerid][pLevel];
    
SetPlayerScore(playeridLevScore); 
Reply
#2

PHP код:
stock AddFlitsPaal(playeridmodelidFloat:xFloat:yFloat:zradiusspeed

Reply
#3

Vlw agora ta dando sу esses warning :

C:\Documents and Settings\Pablo\Meus documentos\Meus arquivos recebidos\[GM]Brasil Street Games\BPN.pwn(63377) : warning 209: function "OnPlayerKeyStateChange" should return a value

PHP код:
}
public 
ScoreLevel(playerid)
{
    new 
LevScore;
    
LevScore PlayerInfo[playerid][pLevel];
    
SetPlayerScore(playeridLevScore);

Reply
#4

Acrescente return true; ao fim de OnPlayerKeyStateChange
Reply
#5

como ass?
Reply
#6

o que o Viniborn esta a dizer й para adicionares return 1;
no fim, vк ai em baixo
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
blablabla
blablabla
blablabla
blablabla

return 1;
}
Reply
#7

PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
blablabla
blablabla
blablabla
blablabla

return true;

Reply
#8

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{

Seu Code

return true;
}
Reply
#9

Quote:
Originally Posted by telmo_ferreira
Посмотреть сообщение
o que o Viniborn esta a dizer й para adicionares return 1;
no fim, vк ai em baixo
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
blablabla
blablabla
blablabla
blablabla

return 1;
}
Quote:
Originally Posted by delete
Посмотреть сообщение
PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
blablabla
blablabla
blablabla
blablabla
return true;

Msm coisa!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)