How much wood can a wood chuck, chuck? (Tree cutting script)
#8

Quote:
Originally Posted by MP2
Посмотреть сообщение
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;
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 6 Guest(s)