Quote:
Originally Posted by ZeeX
Quote:
Originally Posted by Finn
GetPlayerPos(playerid, Float:x, Float:y, Float:z);
SetPlayerPos(playerid, Float:x+10, Float:y+1, Float:z);
Remove the red parts (see above) from your code and it'll go fine.
|
No, this code is ok and should not cause any compiler warnings.
|
Haven't really paid attention if that makes warnings or not and couldn't be arsed to check it out in the compiler, but it's cool you checked it out and corrected my mistake.
In my opinion keeping 'Float:' in the function makes it look ugly, which is the reason I don't keep them in my code.