18/07/2023 18:34
Código:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (newkeys == KEY_SECONDARY_ATTACK)
{
if(IsPlayerInRangeOfPoint(playerid, 1.5, x, y, z))
{
SetPlayerPos(playerid, x, y, z);
SetPlayerInterior(playerid, interiorid);
}
}
}