Jump to content

coolman

Members
  • Content Count

    15
  • Joined

  • Last visited

Community Reputation

0 Neutral

About coolman

  • Rank
    Square

Details

  • Gang
    None
  1. Bad: local lPlayer = getLocalPlayer() ... triggerClientEvent( ..., lPlayer ) This way worked: local lPlayer = getLocalPlayer() ... triggerClientEvent( ..., getLocalPlayer())
  2. Yes, i called from other function in this same resource and it works. Maybe it is bug ?
  3. Resource 1#. i trigger localplayer from client to server ( sPlayer = source ), I can outputchatbox him and sPlayer element is still working but when i use: exports.system:doPlayerCommand( sPlayer ) it don't make any effect. function doPlayerCommand( player ) executeCommandHandler( "dance", player ) --it always return false from upper problem, anyway always works good end So, bug ?
  4. coolman

    Tessellation

    Create a new water tesallation in mta and you will be my boss .
  5. This resource has bug. We talk about pasted code.
  6. Hey, I have been trying to find a solution to fix that problem and I can't. Maybe you know. function checkStreamIn() local x, y, z = getElementPosition( getLocalPlayer() ) local playerdimension = getElementDimension ( getLocalPlayer() ) streamdistance = 5 for key, this in pairs( getElementsByType( "vehicle" ) ) do local vx, vy, vz = getElementPosition( this ) setElementStreamable ( this, true ) if getDistanceBetweenPoints3D( vx, vy, vz, x, y, z ) < streamdistance the
  7. Good question. I think it is possible because i done it but it did not work good.
  8. str = '1,2,3,4' table = split(str, string.byte(',')) table contains your every character separated by comma in that string. example: table[1] = '1' And if you want to convert from string to number use the function tonumber(str) Spam. I solved it.
  9. I think, use split. Użyj split. [ Btw. daj mi gg na pm ] return ( split( table something, string separator )[ number id ] )
  10. I know server which has about 350-500 at the night time ( about 19:00 ).
  11. And this is it... In SA-MP can play 800 players. MTA with 300-400 players isn't playable.
  12. Eh, then maybe you add multi-core to mta ? It will be very helpful. It is possible because samp made it.
×
×
  • Create New...