filterscript - map - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: filterscript - map (
/showthread.php?tid=582237)
filterscript - map -
Kursed - 19.07.2015
How do i add a map to a filterscript? Its giving me errors for RemoveBuildingForPlayer.
Re: filterscript - map -
nezo2001 - 19.07.2015
Make sure that RemoveBuildingForPlayer is under OnPlayerConnect
Re: filterscript - map -
Beckett - 19.07.2015
RemoveBuildingForPlayer has a 'playerid' paramater therefore you should not put it under OnGameModeInIt.
Re: filterscript - map -
SpikY_ - 19.07.2015
Place your all objects under onFilterscriptInIt() and place your all removeed object under onPlayerConnnect like this
Код:
public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 1411, 342.9375, 1796.2891, 18.7578, 0.25);
return 1;
}