29.12.2015, 11:44
I can't figure out the Problem in the snippet.
PHP код:
stock PlayerPosition(playerid, Float:X, Float:Y, Float:Z)
{
new Float:XP,Float:YP,Float:ZP;
GetPlayerPos(playerid,XP,YP,ZP);
return (XP - X) + (YP - Y) + (ZP - Z); //error line
}