18.12.2014, 14:17
PHP код:
new TEST[1];
TEST[0] = CreateObject(1,-3175.7463,1888.1807,74.7513,0,0,0);
for(new idd; idd < sizeof(TEST); idd++)
{
new Float:x, Float:y, Float:z;
GetObjectPos(TEST[idd], x, y, z);
if(IsPlayerInRangeOfPoint(playerid,2.2, x, y, z))
{
SendCllientMessage(playerid, -1, "Test Test Test!!!!!");
}
}
I want it to send the notice when I'm at the object that I set...
I want it to send the message only objects that I set
sorry my bad english