If(IsPlayerInRangeOfPoint Problem
#1

Thanks to Dark_Rain its now fixed
Reply
#2

pawn Код:
dcmd_street(playerid, params[])
{
if(!IsPlayerInRangeOfPoint(playerid, 7.0, -477.3999939, -563.0000000, 28.2999992))return SendClientMessage(playerid, -1, "You are not close enough to the street racing compound!");
#pragma unused params
SendClientMessage(playerid, COLOR_GREEN, "Welcome to your Street racing compound! and do NOT forget to close the gate");
MoveObject(Stgate1, -477.3999939, -563.0000000, 28.2999992, 2.00);
MoveObject(Stgate2, -501.7999878, -562.7000122, 28.2999992, 2.00);
return 1;
Reply
#3

Thank you it works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)