Jump to content

sheenidgs

Members
  • Content Count

    23
  • Joined

  • Last visited

Community Reputation

0 Neutral

About sheenidgs

  • Rank
    Civilian

Details

  • Gang
    Cingka

Recent Profile Visitors

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

  1. CLIENT triggerServerEvent ( "kick", resourceRoot, abc ) SERVER function fox ( player ) kickPlayer( player ) end In abc, make sure that's a player who you want to kick OR you can do this solution CLIENT triggerServerEvent ( "kick", targetPlayer ) SERVER function fox () kickPlayer( source ) end targetPlayer = the player that you want kick
  2. Make sure your Apache and MySQL is running. Open your XAMPP Control Panel
  3. Try this CLIENT SCRIPT function bind_c() -- get the veh first local veh = getPedOccupiedVehicle( localPlayer ) if veh then -- if the veh is valid -- you need an argument IF the handled function has some arguments triggerServerEvent ( "create", resourceRoot, veh ) end end SERVER-SIDE weapOff = {} weapOff[422] = {-0.1, -1.9, -0.2, 0, 30, 60} weapOff[470] = {-0.1, 0.1, 1.0, 0, 30, 60} function createVehicleMachinegun (veh) local x,y,z = getElementPosition(veh) local mid = getElementModel(veh) if weapOff[
  4. Thanks for your inspiration!!!! I've solve this problem with this way: - create a resource with Meta.xml file only for resource info Meta.xml from resource mysql "Rachmad Setiawan" type="configuration" name="MySQL" version="1.0" description="A MySQL Configuration from A Resource" /> - include this resource (mysql) to a target resource (the resource that you want to use this configuration) Meta.xml "Rachmad Setiawan" type="client-login" name="Login Panel" version="1.0" description="A login panel using MySQL" /> -- Butuh resource lain untuk konfi
  5. Hi I want ask my problem about settings.xml I have a script like this server.lua local sqlHandle = nil local connString = nil local accParse = { "id","admin","level","team","xp","points","skin","kills","deaths","location","money","bank" } -- inisialisasi MySQL local sqlHost = "host=" ..get( "MySQLHost" ) or "none" local sqlPort = "port=" ..get( "MySQLPort" ) or "none" local sqlUser = get( "MySQLUser" ) or "none" local sqlPass = get( "MySQLPass" ) or "none" local sqlDB = "dbname=" ..get( "MySQLDB" ) or "none" settings.xml "MySQLHost" value="127.0.0.1">
  6. Hey, it works! Thanks Btw, could you resolve my another problem ? -> viewtopic.php?f=91&t=64828
  7. Yes. The map file is on the meta.xml "location.map" />
  8. Hi... I have a problem with getElementsByType. local location = getElementsByType ( "carjunk" ) print (#location) And this is my .map file <jobsystem> <carjunk x="1643.1171" y="-1515.9602" z="13.6608" /> <!-- Car junk LS - Dealer --> <carjunk x="2050.0410" y="-2493.8975" z="13.5469" /> <!-- Car junk LS - Airport --> <carjunk x="2449.2085" y="-2717.8171" z="1.2407" /> <!-- Car junk LS - Dock --> <carjunk x="-1936.1998" y="276.2972" z="41.0469" /> <!-- Car junk SF - Dealer --> <car
  9. I've tried a few methods. First, i tried to change the stats to 5000 because colt_cop's skill level is at 5000. addEventHandler('onPlayerSpawn', root, function() if not setPedStat(source,22,5000) then outputChatBox ( "Failed to set stats number: 22 with value: 5000", player, 255, 0, 0, false ) end end ) But the function return false. Second, i tried to change the flags from colt_cop to colt45. Then, i convert it to hex number with calc and place this code. But, the anim was going to be weird.
  10. It's doesn't work because I've already tried it before.
  11. Hi.... I wanna ask how to make one-handed weapon to two-handed. Btw, I have found something on weapon.dat. Is is possible to set it ? Sorry for my bad English
  12. Oh man... It's my fault. You're right about the meta hehe.... Thanks for help me
  13. Hi... I have a new problem with GUI (before case I've solved my problem) <- skip this This is my full code client.lua GUIEditor = { tab = {}, staticimage = {}, edit = {}, window = {}, tabpanel = {}, button = {}, label = {}, gridlist = {}, memo = {} } weaponShop = { } addEventHandler("onClientResourceStart", resourceRoot, function() local shopElements = getElementsByType ( "weapon" , getResourceRootElement() ) local num = 1 for k,v in ipairs(shopElements) do weaponShop[num] = { }
  14. I need help for my problem, please.
×
×
  • Create New...