Jetpack bans or kicks ~ + Spec - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Jetpack bans or kicks ~ + Spec (
/showthread.php?tid=95003)
Jetpack bans or kicks ~ + Spec -
[LL]InstabiC - 02.09.2009
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.
Re: Jetpack bans or kicks ~ + Spec -
pliva_sb - 02.09.2009
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;
}
Re: Jetpack bans or kicks ~ + Spec -
dugi - 02.09.2009
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.
Re: Jetpack bans or kicks ~ + Spec -
[LL]InstabiC - 02.09.2009
Ok thanks guys