29.04.2010, 16:49
adiciona no fim do teu GM:
e agr:
if(IsPlayerInPlace(playerid,Float:XMin,Float:YMin, Float:XMax,Float:YMax ))
{
SendClientMessage(playerid,COR,"COISO")
}
pawn Code:
stock IsPlayerInPlace(playerid,Float:XMin,Float:YMin,Float:XMax,Float:YMax )
{
new RetValue = 0;
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z );
if( X >= XMin && Y >= YMin && X < XMax && Y < YMax )
{
RetValue = 1;
}
return RetValue;
}
if(IsPlayerInPlace(playerid,Float:XMin,Float:YMin, Float:XMax,Float:YMax ))
{
SendClientMessage(playerid,COR,"COISO")
}

