18.08.2012, 20:06
esse code pegava de boa em zcmd peguei do meu gm de drift pra coloca nesse novo q to montando
linha do erro: new Float:X, Float:Y, Float:Z;
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.