27.06.2009, 15:21
David yours does the same exact thing as his does already.
Moustafa: Use the code you origionally had, just put differnet coords, like the following:
Moustafa: Use the code you origionally had, just put differnet coords, like the following:
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_ACTION)
{
if (PlayerToPoint(1, playerid, -2038.6663,-87.8214,35.3203))
{
SetPlayerPos(playerid, -2038.6670,-87.1617,35.4203);
return 1;
}
else if(PlayerToPoint(1, playerid, x, y, z))
{
// stuff here
}
}
return 1;
}