13.12.2010, 12:43
pawn Код:
public OnPlayerStateChange(playerid, oldstate, newstate)
{
if(IsPlayerInRangeOfPoint(playerid, distance, x, y, z)) // distance from x,y,z
{
MoveObject(objectid, x, y, z); // x, y, z where the gate will be moved to
GivePlayerMoney(playerid, -115);
}
return 1;
}


