'GetWeaponAtSlot' since this function does not exist or maybe have other name, I'll would like know the correct name for this function, if this was added and how use it.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Fuzzie on Jan 24, 2015, 04:24 AMOff: Just a small request. Can you post any updates of the modules on the Server & Plugin Updates board? It would be much more easier for us to know if there is an update whether it is big or small.
Quotetest_object <- CreateObject( 343, 1, -896.9, -338.783, 13.382, 255 );
function onObjectShot( object, player, weapon )
{
if ( object == test_object ) { CreateExplosion( 1, 4, Vector( -896.9, -338.783, 13.382 ), -1, true ); Message( "aa" ); }
}
function onObjectBump( o, p )
{
if ( object == test_object ) { CreateExplosion( 1, 4, Vector( -896.9, -338.783, 13.382 ), -1, true ); Message( "aa" ); }
}
Quote from: Mariu22S on Jan 04, 2015, 12:29 PMFor example if the server is the player with ID 0 will come out of the pickup and the pickup and the server is recreate and re-enters the player but with the ID 1 and the server will come down.
//My English is too poor probably do not understand
Quote from: RATHORE on Dec 25, 2014, 04:55 PMWell we can enter in that train Simply By using train doors.
@Souly: You need to decrease the of train hight by -1
exampletr.MoveBy(Vector(0,0,-1),2500);
by the way my screen shot are here
Quote from: S.L.C on Dec 11, 2014, 05:46 PMQuote from: Fjose on Dec 11, 2014, 05:16 PMI was talking about the "players" table not about an array. about your examples everybody must know it lol (if is using an array), I have that in my functions but the question is, what will happen with the player when this is kicked? if you are saying that the players table must be removed from kickplr?
then I'll be only cleaning the data when players leaves but not when are kicked? I guess it you are confused or forgetting something
I have no idea what you mean here Can you please be more specific and clear with that question?
Quote from: S.L.C link=msg=658This is your time bomb right here. This will only lead you to kicking other players because when you remove an array element you effectively reduce the array size which causes the players to shift places where players above end up in the slot bellow them.
players.rawdelete( id );
foreach( id, plr in players )
{
if ( plr == text )
{
// do something
}
}
// do something if result is true