05.05.2015, 12:54
Quote:
You didn't read my post properly. Post the code for that function. It probably wants an OBJECT ID not a MODEL ID.
|
Sorry im not exactly 100% sure what you mean by function
is is this bit
Код:
stock IsPlayerNearObject(playerid, objectid, Float:range) { new Float:X, Float:Y, Float:Z; GetObjectPos(objectid, X, Y, Z); if(IsPlayerInRangeOfPoint(playerid, range, X, Y, Z))return true; return false;