Jump to content

StefanKsV

Members
  • Posts

    12
  • Joined

  • Last visited

Details

  • Gang
    KsVboxClub

Recent Profile Visitors

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

StefanKsV's Achievements

Square

Square (6/54)

0

Reputation

  1. It didn't workd. But I found a function that worked function() if ( guiCheckBoxGetSelected (txdModCheckBox) ) then txd = engineLoadTXD ( "RoadTexture/vgncarshade1.txd" ) engineImportTXD ( txd, 3458 ) else destroyElement(txd, 3458) Thanks for the spending time.
  2. Still the same
  3. It's still not removing. Sry, I'm noob scripter but Is that lua file correct? function replace () txd = engineLoadTXD ("vgncarshade1.txd") engineImportTXD( txd , 3458) dff = engineLoadDFF ("vgncarshade1.dff", 0 ) engineReplaceModel( dff ,3458) end addEventHandler("onClientResourceStart",getRootElement(), replace) local state = false bindKey( 'F3', 'down', function( ) if state then engineRestoreModel (3458) outputChatBox( '#ffcc00[MSG]: #c0c0c0Road texture disabled!', 255,255,255,true ) state = false else txd = engineLoadTXD( 'vgncarshade1.txd', 3458 ) engineImportTXD( txd, 3458 ) state = true outputChatBox( '#ffcc00[MSG]: #c0c0c0Road texture enabled!', 255,255,255,true ) end end ) I got only this, and the meta.xml
  4. There are some screenshots http://i.imgur.com/YDIHEaC.jpg http://i.imgur.com/CzF4Beh.jpg Please If someone know how to fix it, to reply.. I really need this script :c
  5. Well It's not working As it should, It disables and enables the roads when I turn 2 roads on and disable one, But after I reconnect it's only restarting the roads. It types '''road texture disabled and ''road ''texture enabled'' but It's not working :cc*
  6. Sry I'm new scripter. Can u explain me how to do it please?
  7. So I created some vgncarshade1 (road) textures and landjump (ramp) The thing is, I want to put a option ''When the player press a button, lets say ''F3'' and then, the Texture should be disabled I tried with bindKey( 'F3', 'down', function( ) state = not state if state then destroyElement( txd ) outputChatBox( '#ffcc00[MSG]: #c0c0c0Road texture disabled!', 255,255,255,true ) else txd = engineLoadTXD( 'vgncarshade1.txd', 3458 ) engineImportTXD( txd, 3458 ) outputChatBox( '#ffcc00[MSG]: #c0c0c0Road texture enabled!', 255,255,255,true ) end end ) It's not disabling the txd, only restarting it. ;c
  8. Nvm Fixed The script had no premission to the ACL.Meta file Thx for the support Walid!
  9. I told you need to use aclReload() because refresh can't reload your ACL.xml file. Example function reload (player, command ) local reloadAcl = aclReload() if ( reloadAcl ) then outputChatBox ( "ACL was successfully reloaded.", player, 255, 0, 0 ) end end addCommandHandler ( "reload", reload ) I reloaded and tried the command again
  10. You don't need to stop the server just use aclReload () The resource works good, it types '' ACL: [Mk1]Stefan^ added [Mk1]RealFix to admin group: 11 "" But when I go to Manage Acl and look at lvl 11 users I see that he's not added I tried ''refresh'' on console and he's still not added
  11. Hey, I got one admin lvl script, There's a command /setlvl [user] (2-11) But there's a problem, it's not working. I can only set lvl from panel/resource/Manage acl. I want to give them rights typing /setlvl blabla 11 and boom.. done! I Would be happy if someone helps me to fix it. Thanks!
  12. Love u man!
×
×
  • Create New...