Hello There, Guest! Login or Register


.23 Weapons Handler
#11
(06-01-2009, 04:36 PM)SAFC link Wrote: Then allow weapons inside, switch the players to the same team when they enter an interior, team killing is disabled in samp by default.

Then if they're in the robbery minigame their team could be changed to TEAM_ROBBER, or TEAM_GUARD.

For the players leaving an interior, or in interior 0 already, their team could be set to "playerid" since its unique for each player.

When they go inside an interior by default they cant effect eachother, lag may cause sync problems however.

So a timer would be useful once the player is in the interior, to keep it synced.

To avoid the kills when leaving an interior, create a SetTimerEx under OnPlayerInteriorChange lasting 1 second, no repeat. This will delay the players team change, so they'll still be on the same team as the rest of the player in the interior.

That way if anyone is trying to lame kill, they wouldnt be able to since it wouldnt effect the player leaving the interior.

I think the devs know what they're doing.  8)7
Reply


Messages In This Thread
.23 Weapons Handler - by Jerome® - 06-01-2009, 01:52 AM
Re: .23 Weapons Handler - by _Harry_ - 06-01-2009, 04:27 AM
Re: .23 Weapons Handler - by Lithirm - 06-01-2009, 06:08 AM
Re: .23 Weapons Handler - by Wesley - 06-01-2009, 02:28 PM
Re: .23 Weapons Handler - by Lithirm - 06-01-2009, 02:34 PM
Re: .23 Weapons Handler - by Phyc0 - 06-01-2009, 02:34 PM
Re: .23 Weapons Handler - by SAFC - 06-01-2009, 04:07 PM
Re: .23 Weapons Handler - by Wesley - 06-01-2009, 04:11 PM
Re: .23 Weapons Handler - by SAFC - 06-01-2009, 04:36 PM
Re: .23 Weapons Handler - by Jerome® - 06-01-2009, 07:23 PM
Re: .23 Weapons Handler - by Felle - 06-01-2009, 07:58 PM
Re: .23 Weapons Handler - by Jerome® - 06-01-2009, 07:59 PM
Re: .23 Weapons Handler - by SAFC - 06-01-2009, 08:52 PM
Re: .23 Weapons Handler - by Jerome® - 06-01-2009, 09:10 PM
Re: .23 Weapons Handler - by Fireburn - 06-01-2009, 09:14 PM
Re: .23 Weapons Handler - by Ph03n1x - 06-01-2009, 09:20 PM
Re: .23 Weapons Handler - by SAFC - 06-01-2009, 09:37 PM
Re: .23 Weapons Handler - by Jerome® - 06-01-2009, 09:38 PM
Re: .23 Weapons Handler - by Fireburn - 06-01-2009, 09:39 PM
Re: .23 Weapons Handler - by Phyc0 - 06-01-2009, 02:25 PM