C:\Users\Hassan\Desktop\dd.pwn(353) : error 017: undefined symbol "playerid" C:\Users\Hassan\Desktop\dd.pwn(355) : error 017: undefined symbol "playerid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
public EnterExit() { if(IsPlayerInRangeOfPoint(playerid, 3.0, 2287.0161, 2432.0356, 10.0835) { SetPlayerPos(playerid,238.6965, 139.0925, 1002.7668); } return 1; }
if(IsPlayerInRangeOfPoint(playerid, 3.0, 2287.0161, 2432.0356, 10.0835))
public EnterExit(playerid)
Also, the function "EnterExit" doesn't have any parameter called "playerid", you should correct to this:
Код:
public EnterExit(playerid) |
C:\Users\Hassan\Desktop\dd.pwn(351) : error 025: function heading differs from prototype C:\Users\Hassan\Desktop\dd.pwn(354) : error 001: expected token: ")", but found "{" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
public EnterExit(playerid) { if(IsPlayerInRangeOfPoint(playerid, 3.0, 2287.0161, 2432.0356, 10.0835) { SetPlayerPos(playerid,238.6965, 139.0925, 1002.7668); } return 1; }
C:\Users\Hassan\Desktop\dd.pwn(351) : error 025: function heading differs from prototype Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
public EnterExit(playerid) { if(IsPlayerInRangeOfPoint(playerid, 3.0, 2287.0161, 2432.0356, 10.0835)) { SetPlayerPos(playerid,238.6965, 139.0925, 1002.7668); } return 1; }
1 error fixed
how i fix this C:\Users\Hassan\Desktop\dd.pwn(351) : error 025: function heading differs from prototype |
forward EnterExit();