18.05.2011, 00:29
Este й o comando:
Esses sгo os erros:
pawn Код:
if(!strcmp(var0, "/virar", true))
{
{
if(!IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid, 0xC0C0C0AA, "Vocк precisa estar em um veнculo para virar ele!");
return 1;
}
new var6 = 0;
new Float:var7 = 0.0, Float:var8 = 0.0, Float:var9 = 0.0, Float:var10 = 0.0;
var6 = GetPlayerVehicleID(playerid);
GetVehicleZAngle(var6, var10);
GetPlayerPos(playerid, var7, var8, var9);
SetVehiclePos(var6, var7, var8, var9 + 3);
SetVehicleZAngle(var6, var10 + 5);
SetVehicleZAngle(var6, var10);
SendClientMessage(playerid, 0xF6F600AA, "Vocк virou seu veнculo");
return 1;
}
}
Код:
C:\Users\Gabriel\Desktop\FullADM.pwn(114) : error 018: initialization data exceeds declared size C:\Users\Gabriel\Desktop\FullADM.pwn(329) : error 018: initialization data exceeds declared size C:\Users\Gabriel\Desktop\FullADM.pwn(397) : error 035: argument type mismatch (argument 1) C:\Users\Gabriel\Desktop\FullADM.pwn(398) : error 028: invalid subscript (not an array or too many subscripts): "arg0" C:\Users\Gabriel\Desktop\FullADM.pwn(398) : warning 215: expression has no effect C:\Users\Gabriel\Desktop\FullADM.pwn(398) : error 001: expected token: ";", but found "]" C:\Users\Gabriel\Desktop\FullADM.pwn(398) : error 029: invalid expression, assumed zero C:\Users\Gabriel\Desktop\FullADM.pwn(398) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 7 Errors.