[Ajuda] ajudinha com esses warnings
#1

esse code pegava de boa em zcmd peguei do meu gm de drift pra coloca nesse novo q to montando
pawn Код:
bCMD[flip]-(playerid, params[])
{
    #pragma unused params
    new Float:X, Float:Y, Float:Z;
    if(IsPlayerInAnyVehicle(playerid))
    {
        SetCameraBehindPlayer(playerid);
        GetPlayerPos(playerid, X, Y, Z);
        SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z);
        SetVehicleZAngle(GetPlayerVehicleID(playerid), 0);
    }
    return 1;
}
Код:
C:\Users\Villy\Desktop\iniciante\gamemodes\Freeroam.pwn(4759) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\Villy\Desktop\iniciante\gamemodes\Freeroam.pwn(4759) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\Villy\Desktop\iniciante\gamemodes\Freeroam.pwn(4759) : warning 219: local variable "Z" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
linha do erro: new Float:X, Float:Y, Float:Z;
Reply


Messages In This Thread
ajudinha com esses warnings - by Math3us - 18.08.2012, 20:06
Re: ajudinha com esses warnings - by Scripter Fodastico - 18.08.2012, 20:09
Re: ajudinha com esses warnings - by FeelLikeASir_ - 18.08.2012, 20:10
Re: ajudinha com esses warnings - by Math3us - 18.08.2012, 20:12
Re: ajudinha com esses warnings - by gabrielloko157 - 18.08.2012, 22:49
Re: ajudinha com esses warnings - by @Riichard - 18.08.2012, 22:51
Re: ajudinha com esses warnings - by darkxdll - 18.08.2012, 22:53
Re: ajudinha com esses warnings - by gabrielloko157 - 18.08.2012, 22:56
Re: ajudinha com esses warnings - by Bruno Alves - 18.08.2012, 23:14
Re: ajudinha com esses warnings - by .FuneraL. - 18.08.2012, 23:22

Forum Jump:


Users browsing this thread: 1 Guest(s)