08.08.2010, 21:07
Well I'm stumped, I just compiled this fine.
Which is basically where you were getting the warning.
Edit: If you want to send me your script, I'll compile it and maybe be able to help out more when I see the warning myself, but with what you've given me I honestly don't see a problem with the code.
pawn Код:
#include <a_samp>
enum oInfo
{
bool:Exist,
ModelID,
gObj,
Float:oldX, //Created X
Float:oldY, //Created Y
Float:oldZ, //Created Z
Float:newX, //X Pos after moving
Float:newY, //Y Pos after moving
Float:newZ, //Z Pos after moving
Float:oldRX, // Created rotation X
Float:oldRY, //Created rotation Y
Float:oldRZ, //Created rotation Z
Float:newRX, //Rotation X after moving
Float:newRY, //Rotation Y after moving
Float:newRZ, //Rotation Z after moving
Radius,//Distance/radius to open automatically
mSpeed, //Movement speed
rSpeed, //Rotation speed
Float:dif // Substracing later
}
new gInfo[10][oInfo];
main()
{
new gateid = 1;
gInfo[gateid][dif] = floatsub(gInfo[gateid][newRZ],gInfo[gateid][oldRZ]);
}
Edit: If you want to send me your script, I'll compile it and maybe be able to help out more when I see the warning myself, but with what you've given me I honestly don't see a problem with the code.

