17.07.2011, 16:53
nu mori...vezi linia care inti da eroare(de ex: la mine imi da eror not impleted si linia 3243)si il pui linia
......
tu nu ai facut bine playertopoint..sterge si adauga asta la ultima:
warning 209: function "JB_OnPlayerConnect" should return a value
trebuie sa pui return 1;
......
tu nu ai facut bine playertopoint..sterge si adauga asta la ultima:
Code:
stock PlayerToPoint(Float:radius, playerid, Float:X, Float:Y, Float:Z) { new Float:oldpos[3], Float:temppos[3]; GetPlayerPos(playerid, oldpos[0], oldpos[1], oldpos[2]); temppos[0] = (oldpos[0] -X); temppos[1] = (oldpos[1] -Y); temppos[2] = (oldpos[2] -Z); if(((temppos[0] < radius) && (temppos[0] > -radius)) && ((temppos[1] < radius) && (temppos[1] > -radius)) && ((temppos[2] < radius) && (temppos[2] > -radius))) { return true; } return false; }
trebuie sa pui return 1;