[Help] Map
#1

Код:
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(265) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(266) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(267) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(268) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(269) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(270) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(271) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(272) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(273) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(274) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(275) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(276) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(277) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(278) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(279) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(280) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(281) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(282) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(283) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(284) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(285) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(286) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(287) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(288) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(289) : error 017: undefined symbol "playerid"
D:\VN-RP\VN-RP\filterscripts\House Island.pwn(290) : error 017: undefined symbol "playerid"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply
#2

The area of the filterscript where these errors are appearing (lines 265-290) does not refer to the player or uses another variable to do so. Please show the code on the lines where these errors appear.
Reply
#3

?
Reply
#4

Quote:
Originally Posted by JonnyDeadly
Посмотреть сообщение
Please show the code on the lines where these errors appear.
^ This. :P
Reply
#5

Код:
RemoveBuildingForPlayer(playerid, 5156, 2838.0391, -2423.8828, 10.9609, 0.25);
RemoveBuildingForPlayer(playerid, 5159, 2838.0313, -2371.9531, 7.2969, 0.25);
RemoveBuildingForPlayer(playerid, 5160, 2829.9531, -2479.5703, 5.2656, 0.25);
RemoveBuildingForPlayer(playerid, 5161, 2838.0234, -2358.4766, 21.3125, 0.25);
RemoveBuildingForPlayer(playerid, 5162, 2838.0391, -2423.8828, 10.9609, 0.25);
Reply
#6

RemoveBuildingForPlayer, I figured as much xP. You're going to want to move these functions under OnPlayerConnect(), as I assume they are currently under OnFilterScriptInit().
Reply
#7

- Thanks
Reply
#8

Quote:
Originally Posted by JonnyDeadly
Посмотреть сообщение
RemoveBuildingForPlayer, I figured as much xP. You're going to want to move these functions under OnPlayerConnect(), as I assume they are currently under OnFilterScriptInit().
I move me map under OnPlayerConnect() or OnFilterScriptInit() ??
Reply
#9

Put it onplayerconnect.
Reply
#10

RemoveBuildingForPlayer goes under:

pawn Код:
public OnPlayerConnect()
{
    RemoveBuildingForPlayer(ecetra);
}
Where-as regular mapping codes go under:
pawn Код:
public OnGameModeInit()
{
    CreateObject(ecetra);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)