11.11.2010, 20:17
hum getting these warnings cant figure it out
warning lines
warnings
pawn Код:
dcmd_addlight(playerid,params[])
{
#pragma unused params
new object, Float: x, Float: y, Float: z, Float: angle,Float: rotax,Float: rotay,Float: rotaz;
object = 354;
GetPlayerPos(playerid,x, y, z);
CreateObject(object, x, y, z, angle, 0.0, 0.0, 10.0);
GetObjectRot(object, rotax, rotay, rotaz);
Lighter[playerid][X] = x;
Lighter[playerid][Y] = y;
Lighter[playerid][Z] = z;
Lighter[playerid][RotX] = rotax;
Lighter[playerid][RotY] = rotay;
Lighter[playerid][RotZ] = rotaz;
return 1;
}
pawn Код:
Lighter[playerid][RotX] = rotax;
Lighter[playerid][RotY] = rotay;
Lighter[playerid][RotZ] = rotaz;
Код:
C:\Users\mike\Desktop\server\filterscripts\dadmin.pwn(100) : warning 213: tag mismatch C:\Users\mike\Desktop\server\filterscripts\dadmin.pwn(101) : warning 213: tag mismatch C:\Users\mike\Desktop\server\filterscripts\dadmin.pwn(102) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Warnings.