in range problem -.-
#1

If i make script like this, than it will spam "Banana" whole time ur in range of coordinates.
Код:
if(IsPlayerInRangeOfPoint(playerid, 10.0, *some coordinates*)
SendClientMessage(playerid, 0xFF9900AA, "Banana");
How to make that it should write only once "Banana" when you enter in range.
And if you go out of range and back in it should write "Banana" again.
Reply
#2

you will have to make a variable, like beenin = 1; when he goes in and then check if the beenin is 1
Reply
#3

oooh, ok than lets make it on hard way :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)