how to check player out area
#1

i want when a player out of area send a client too all
Some one out of area
how to make it
can some on tell me ? Thx
Reply
#2

public isPlayerInArea()
{
printf("Player %i left a checkpoint!",playerid);
SendClientMessageToAll(0xDEEE20FF, "Hello.");
return 1;
}

-------------------------------------------------

SendClientMessageToAll(0xDEEE20FF, "Hello."); --- i added that above . but you dont need that
-----------------------------------------------------------------------

just

public isPlayerInArea()
{
printf("Player %i left a checkpoint!",playerid);
return 1;
}
Reply
#3

maybe this

if (IsPlayerInCheckpoint(playerid))
{
SetPlayerHealth(playerid, 100.0);
}
Reply
#4

not that mine
my mean is when player leave the area send a message
Reply
#5

have a look at this https://sampforum.blast.hk/showthread.php?tid=93294
Reply
#6

Quote:
Originally Posted by andrewgrob
Посмотреть сообщение
thank you!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)