[SOLVED] IfPlayerIsInRangeOfPoint - SendClientMessage? How? :(
#1

Hey you all lovely peoples.

I have been playing around with several kind of combinations of codes, but i just can't seem to get this to work.
Everything looks right for me, but nothing happens when i'm in the area.

I currently have this, but doesn't work either.
Код:
forward IsAtScrapyard(playerid);

public IsAtScrapyard(playerid)
{
    new Float:x, Float:y, Float:z;
	GetPlayerPos(playerid,x, y, z);
	if(IsPlayerInRangeOfPoint(playerid,5,-1210.7212,-1061.7201,128.2656))
	SendClientMessage(playerid,COLOR_YELLOW, "Type /buyscrapticket to enter the scrapyard.");
 	return 1;
 	}
It compiles though.
Can anybody tell me what i am doing wrong? Thanks
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)