filterscript - map
#1

How do i add a map to a filterscript? Its giving me errors for RemoveBuildingForPlayer.
Reply
#2

Make sure that RemoveBuildingForPlayer is under OnPlayerConnect
Reply
#3

RemoveBuildingForPlayer has a 'playerid' paramater therefore you should not put it under OnGameModeInIt.
Reply
#4

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;
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)