08.06.2012, 17:05
Interior and virtual world are both integers not floats, remove the tag or cast it like this:
EDIT:
Same with the part that gives you warnings, I DO NOT SUGGEST THIS but it is a work-around!
The latter is NOT suggested!
The best option for you is to just change it all back to regular integer variables
Regards.
pawn Код:
Float:i, Float:v;
_:i = GetPlayerInterior(playerid);
_:v = GetPlayerVirtualWorld(playerid);
Same with the part that gives you warnings, I DO NOT SUGGEST THIS but it is a work-around!
pawn Код:
SetPlayerInterior(playerid, _:i); //warning 213: tag mismatch
SetPlayerVirtualWorld(playerid, _:v);//warning 213: tag mismatch
The best option for you is to just change it all back to regular integer variables
Regards.