SA-MP Forums Archive
Need Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need Help (/showthread.php?tid=527003)



Can i use IsPlayerInRangeOfPoint with Oject Create ? - edwardluciano - 20.07.2014

Quote:

if(strcmp(cmd, "/createtable", true) == 0)
{
// editor 0 [ЁУ№З№µФґЕє д»ўЗТ] editor 1 [µФґЕє ННЎЛиТ§ЁТЎµСЗЕР¤Г]
new Float:editor[3];
GetPlayerPos(playerid,editor[0],editor[1],editor[2]);
CreateDynamicObject(3383, editor[0]+1, editor[1]-3, editor[2]-1, 0.0,0.0,0.0, -1, -1, -1, 100.0); //object(a51_labtable1_) (1)

CreateDynamicObject(2891, editor[0]+1, editor[1]-2.5, editor[2], 0.0,0.0,0.0, -1, -1, -1, 100.0);//object(kmb_packet) (1)
CreateDynamicObject(2891, editor[0]+1.2, editor[1]-2.5, editor[2], 0.0,0.0,0.0, -1, -1, -1, 100.0);//object(kmb_packet) (1)
CreateDynamicObject(2891, editor[0]+1.1, editor[1]-2.5, editor[2]+0.2, 0.0,0.0,0.0, -1, -1, -1, 100.0);//object(kmb_packet) (1)

CreateDynamicObject(2901, editor[0], editor[1]-3, editor[2]+0.3, 0.0,0.0,0.0, -1, -1, -1, 100.0);//object(kmb_marijuana) (1)

}

From that i wan to use IsPlayerInRangeOfPoint with object(a51_labtable1_) for use other command
how to ?

Thank for all answer and sorry my english skill not good


Re: Need Help - BroZeus - 20.07.2014

cant understand what you want to say
please explain more


Re: Need Help - edwardluciano - 20.07.2014

Remove


Re: Need Help - edwardluciano - 20.07.2014

Help plz thank