24.03.2012, 21:51
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == KEY_FIRE)
{
if(IsPlayerInRangeOfPoint(playerid, 10.0, -901.7835,2695.9102,42.3703))
OnPlayerCommandText(playerid, "/entrartunning2");
else if(IsPlayerInRangeOfPoint(playerid, 10.0, 1061.0157,2135.3223,10.82032))
OnPlayerCommandText(playerid, "/sairtunning2");
}
return true;
}