Hi ich bekomme hier immer so ein warning C:\Users\Izeir\Desktop\Programme\TestServer\gamemodes\lol.pwn(776) : warning 225: unreachable code
ich hab das
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){ if(newkeys == KEY_SECONDARY_ATTACK) { if(!IsPlayerInRangeOfPoint(playerid,3.0,1480.9713,-1771.8354,18.7958))return 1; { SetPlayerPos(playerid,384.808624,173.804992,1008.382812); SetPlayerInterior(playerid,3); return 1; }HIER IST WARNING >>if(!IsPlayerInRangeOfPoint(playerid,3.0,1459.4105,-1009.9214,26.8438))return 1;<< { SetPlayerPos(playerid,1415.951171,-988.971191,1639.980224); SetPlayerInterior(playerid,0); return 1; } } if(newkeys == KEY_NO) { if(!IsPlayerInRangeOfPoint(playerid,3.0,390.6163,173.7426,1008.3828))return 1; { SetPlayerPos(playerid,1480.9713, -1771.8354, 18.7958); SetPlayerInterior(playerid,0); return 1; } } return 1;}