Jump to content

Stevor

Members
  • Posts

    36
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Stevor's Achievements

Rat

Rat (9/54)

0

Reputation

  1. Stevor

    random spam

    thx it's work good
  2. Stevor

    random spam

    same thing bad argument when i use it i need to use 1 math.random only i can't use 2
  3. Stevor

    random spam

    but what to use ? newnr or lastnr
  4. Stevor

    random spam

    when i use lastnr to orginal random outputChatBox(lastnr,0,0,0,true) --after start or restart its same number export --and --when i use newnr outputChatBox(newnr,0,0,0,true) --debug bad argument
  5. Stevor

    random spam

    hello i have script with use math.random ( First Number , second Number ) but some times the number same old number ( spam ) what can do
  6. Stevor

    Colshape

    thx it's work how to send value from server to client ? i get value from table what need ?
  7. Stevor

    Colshape

    thank you so much it's work good ! can i change data To anything that is not true, false
  8. Stevor

    Colshape

    I intend to when player get Data "R" true other Script give him something my problem How do I check does he have have Data "R" true or false
  9. Stevor

    Colshape

    Oh , do you mean I have to check if Element = Ped Or Vehicle or .... ? function D() local players = getElementsByType ( "player" ) -- get a table of all the players in the server for theKey,thePlayer in ipairs(players) do if (getElementData (thePlayer, "R") == true) then outputChatBox("true",root,0,255,0,true) else outputChatBox("false",root,0,255,0,true) end end end setTimer(D,15000,0)
  10. Stevor

    Colshape

    but From a player's , he has data true "R" now ?
  11. Stevor

    Colshape

    thank you its work but how to getElementData For "R" -- i do that function D (theElement, matchingDimension) if (getElementData (theElement, "R") == true) then outputChatBox("true",root,0,255,0,true) else outputChatBox("false",root,0,255,0,true) end end setTimer(D,15000,0) and Get Bad Argument
  12. Stevor

    Colshape

    what to do its server
  13. Stevor

    Colshape

    Sorry, I didn't notice, because I have two copies of this it's server
  14. Stevor

    Colshape

    done , but colshape Not created i use command showcol
  15. Stevor

    Colshape

    hi i have colshape i want it to give player data "R",true this is my attempt client addEventHandler("onResourceStart", resourceRoot, function () MyZone = createColCuboid(-2034.9541015625,321.2734375, 200.75479125977, 40, 90.2, 17.9) end ) function dimensionChecker (theElement, matchingDimension) if matchingDimension then setElementData(localPlayer, "R", true) end end addEventHandler ("onClientColShapeHit", myZone, dimensionChecker)
×
×
  • Create New...