Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Beluga

  • Rank
  1. addEventHandler ("onPlayerChat",getRootElement(), function abc (message,type) message = split(message,32) if (message[1] == "!points") then local player = getPlayerFromName(message[2]) or source local playerPoints = loadPlayerData (player,"points") setTimer(outputChatBox,50,1,getPlayerName (player) .. " #FF0000has " .. tostring(playerPoints) .. " points!",getRootElement(),255,0,0,true) end) addCommandHandler ( "name", abc ) You were missing an end.
  2. Beluga

    Bounded keys

    Hmm I'll take an extra look at it because I found a resource that changes the controls (Resource called: Drug) EDIT// I changed the jump button. Sprint button in progress.
  3. Beluga

    Bounded keys

    Is it possible to change bounded keys. Like I want to put Sprint at shift but it is at space. Thanks.
  4. What is Wolfenstein Enemy-Territory? Wolfenstein Enemy-Territory is a first person based shooting game. Here are some pictures of how the game look likes: Progress: I didn't start scripting yet, but here are the features: -GUI : 0% -First Person : 0% -Custom Weapons : 0% (Someone can help me wit this?) -Mapping : 0% -Sounds : 5% I hope you like my ideas!
  5. function illegalweapon ( previousWeaponID, currentWeaponID ) if not isObjectInACLGroup (source, aclGetGroup ( "Admin" ) ) then if currentWeaponID == 38 or currentWeaponID == 35 or currentWeaponID == 36 then local weapon = getWeaponNameFromID ( currentWeaponID ) kickPlayer ( source, " AC detected ".. weapon) outputChatBox("Cheater/Bug Abuser kicked!", getRootElement(), 255, 0, 0) outputServerLog("ANTICHEAT: kicked abuser/cheater.") end end end addEventHandler ( "onPlayerWeaponSwitch", getRootElement(), illegalweapon ) function kickCh
  6. I didnt ask to script something for me... I just tought there is some stock command like in SAMP if you run game and do /save then it will make to your Main san andreas folder playerpositsions.txt with saved cordinades. I know the code how to make but i what i don't know is how to get easy cordinades on map... Hmm you said you don't want a script but it is still scripted for you now. You could get this one by visiting http://wiki.multitheftauto.com/wiki/Main_Page.
  7. Tuuker, This is not a valid way of asking. You can search it by yourself. Go to the Wiki site and search for createPickup... We won't script something for you.
  8. function topDownView() local rotation = getPedRotation(getLocalPlayer()) local x,y,z = getElementPosition(getLocalPlayer()) setCameraMatrix(x,y,z+50,x,y,z,rotation) addEventHandler("onClientPreRender",getRootElement(),topDownView) end addEventHandler("onClientVehicleEnter",getRootElement(),topDownView) function normalView() removeEventHandler("onClientPreRender",getRootElement(),topDownView) setTimer(setCameraTarget,50,1,getLocalPlayer()) end addEventHandler("onClientVehicleExit",getRootElement(),normalView) This code is working, but if I do /debugscr
  9. Beluga


    I think this will help you resourceRoot = getResourceRootElement() escript = guiCreateWindow(272,149,433,431,"eSports script by Ghosts/Klesh",false) lb_s = guiCreateLabel(76,38,282,98,"eSports script",true,escript) guiLabelSetColor(lb_s,0,0,255) guiLabelSetVerticalAlign(lb_s,"top") guiLabelSetHorizontalAlign(lb_s,"center",false) guiSetFont(lb_s,"sa-header") lb_u = guiCreateLabel(9,95,422,42,"User name",true,escript) guiLabelSetColor(lb_u,255,255,255) guiLabelSetVerticalAlign(lb_u,"top") guiLabelSetHorizontalAlign(lb_u,"center",false) guiSetFont(lb_u,"sa-header") e_u = guiCreat
  10. Beluga


    I like mySQL more but if sqLite is better or same, thats ok too for me.
  11. Beluga


    Hi, Is there someone who can help me with mySQL based loginSystem (GUI allready done) I checked the wiki site but I don't readlly understand it. If there's no one, I'll keep using .xml file. Greetz, Cornelis.
  12. Hmm why there is no hideLoginWindow in client side? So triggerClientEvent.....(fill in by yourself)
  13. Beluga

    Join Quit

    outputChatBox(#FF0000Klesh has joined to #FFCC00server LA) http://wiki.multitheftauto.com/wiki/OutputChatBox Always check wiki before asking.
  • Create New...