Jetpack bans or kicks ~ + Spec
#1

Yeh I loaded the server and used an admin script to spawn a jetpack, then next minute it said "server closed connection"

Maybe I didn't see the jetpack bit or something.


Also, If you spec the bots, they for example the pilot in lv will be driving a car (like a flying car) instead of a plane.

Reply
#2

Open GrandLARC

Code:
public OnPlayerUpdate(playerid)
{
	if(!IsPlayerConnected(playerid)) return 0;
	
	// changing cities by inputs
	if( !gPlayerHasCitySelected[playerid] &&
	  GetPlayerState(playerid) == PLAYER_STATE_SPECTATING ) {
	  ClassSel_HandleCitySelection(playerid);
	  return 1;
	}
	
	if(GetPlayerWeapon(playerid) == WEAPON_MINIGUN) {
	  Kick(playerid);
	  return 0;
	}
	
	if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK) {
	  Kick(playerid);
	  return 0;
	}

	return 1;
}
Remove
Code:
	if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK) {
	  Kick(playerid);
	  return 0;
	}
Reply
#3

Quote:

Also, If you spec the bots, they for example the pilot in lv will be driving a car (like a flying car) instead of a plane.

The bot recordings were designed for grand larceny gamemode which has different vehicles than your gamemode therefore the vehicle ID's are different and bots are put into wrong vehicles.
Reply
#4

Ok thanks guys
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)