25.04.2010, 13:53
Hello, I tried to do that:
It didn't work, what is the problem?
pawn Code:
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsPlayerFacingPlayer(playerid, i, 7.0))
{
SendClientMessage(playerid,COLOR_WHITE,"There is a player in front of you!");
}
}
}