Player disconnects from the game
#8

if(newstate == PLAYER_STATE_DRIVER)
{
new model = GetPlayerVehicleSeat(playerid);
if(model != 12
{
if(!model)
{
model = GetVehicleModel(GetPlayerVehicleID(playerid));
if(!(400 <= model <= 611) || MaxPassengers[model - 400 >>> 3] >>> ((model - 400 & 7) << 2) & 0xF == 15) return Kick(playerid);
}
else return Kick(playerid);
}
}


static const MaxPassengers[27] =
{
0x10331113, 0x11311131, 0x11331313, 0x80133301,
0x1381F110, 0x10311103, 0x10001F10, 0x11113311,
0x13113311, 0x31101100, 0x30001301, 0x11031311,
0x11111331, 0x10013111, 0x01131100, 0x11111110,
0x11100031, 0x11130221, 0x33113311, 0x11111101,
0x33101133, 0x101001F0, 0x03133111, 0xFF11113F,
0x13330111, 0xFF131111, 0x0000FF3F
Reply


Messages In This Thread
Player disconnects from the game - by vovalutsk - 10.06.2013, 08:49
Re: Player disconnects from the game - by vovalutsk - 10.06.2013, 08:53
Re: Player disconnects from the game - by DetoNater - 10.06.2013, 10:14
Re: Player disconnects from the game - by vovalutsk - 10.06.2013, 11:12
Re: Player disconnects from the game - by vovalutsk - 10.06.2013, 11:14
Re: Player disconnects from the game - by vovalutsk - 10.06.2013, 11:23
Re: Player disconnects from the game - by Scrillex - 10.06.2013, 11:37
Re: Player disconnects from the game - by vovalutsk - 10.06.2013, 11:39
Re: Player disconnects from the game - by Scrillex - 10.06.2013, 11:39
Re: Player disconnects from the game - by vovalutsk - 10.06.2013, 11:41

Forum Jump:


Users browsing this thread: 2 Guest(s)