Jump to content

denny199

Members
  • Posts

    877
  • Joined

  • Last visited

Everything posted by denny199

  1. [English] Daphne Smith says: 27.000? [English] Giovanni Santoro says: Do I look like a bitch ? [English] Daphne Smith says: Yes. [English] Giovanni Santoro says: Cause you're trying to fuck me like one. [English] Giovanni Santoro says: But, I'll let it go at that price. [English] Giovanni Santoro says: I like to get fucked, sometime... [English] Giovanni Santoro says: If you see what I eman. [English] Giovanni Santoro says: Mmmmhh Daphne Smith: (( Nom nom nom )) Daphne Smith: (( ))
  2. I think that your'e removed only the object, remove the LOD too.
  3. Why only a stunt backwards? Boring -.-
  4. It's better to make your'e own gamemode.
  5. did this worked? : toggleControl ( controller, "enter_exit", false ) toggleControl ( controller, "enter_passenger", false ) Because here are you using player and above the controller toggleControl ( player, "enter_exit", false ) toggleControl ( player, "enter_passenger", false ) setElementData(player,"TaxiRequester",false)
  6. ... getPlayerName() onPlayerConnect
  7. lookatx,lookaty,lookatz are the cordinates where you looking at, try things out man instead off asking.
  8. first off all your'e not showing your'e whole code. exapmle: What is this?: SendPlayerMessage and if Account and Account.Admin >= 1 or Account and Account.GameMaster >= 1 then Where is evrything?
  9. Do you still remember me?: |B&B|Denz
  10. stop frist with removing it then test it so it's still standing there then go over it then it says something like this: example: 1433 (vegelkup) LOD: 1432
  11. denny199

    Spawn

    Yes there is a way to change the skn look at the syntax spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) your'e using skin 285 edit: this is a better way: addEventHandler("onResourceStart", resourceRoot, function() for i,player in ipairs(getElementsByType("player")) do spawn(player) end end ) function spawn(player) spawnPlayer(player, 213.81648254395, 1870.0822753906, 13.140625, 0 , 285) fadeCamera(player, true) setCameraTarget(player, player) giveWeapon(player, joinWeapon, joinAmmo) -- btw what is joinweapon and joinammo? end addEventHandler("onPlayerJoin", root, function() spawn(source) end ) addEventHandler("onPlayerWasted", root, function() setTimer(spawn, 3000, 1, source) end )
  12. denny199

    Car Engine

    lua is sensitive rename this: playSound("sound.mp3") to this: playSound("Sound.mp3") -- I made it Sound instead off sound
  13. denny199

    Spawn

    function spawnOnDead(ammo, killer, weapon, bodypart) end setTimer(spawnPlayer, 3000, 1, source, 213.81648254395, 1870.0822753906, 13.140625, 0, 285) setCameraTarget(source, source) end 2 ends?
  14. U debugged it wrong function autounban(player,cmd,targetPlayer) tPlayer = getPlayerFromName(targetPlayer) if tPlayer then outputChatBox ( " "..tPlayer.." = True", player, 0, 255, 0) -- targetPlayer Returns nothing, bcs it is needed getplayerfromname. else outputChatBox ( "Target player = False", player, 255, 0, 0) -- because it returns nil we used this if not getElementData(tPlayer, "auto.unban") then outputChatBox ( "Banned = false", player, 0, 255, 0) setElementData(tPlayer, "auto.unban", true) outputChatBox("You have given unbanned protection to "..tPlayer.." !", player, 0, 255, 0) else outputChatBox ( "#FF0000Banned = true", player, 255, 255, 255, true) setElementData(tPlayer, "lift.permission", false) outputChatBox("You have taken unbanned protection from "..tPlayer.." !", player, 255, 0, 0) end end end addCommandHandler("banprotect", autounban) function unban(player,targetPlayer) tPlayer = getPlayerFromName(targetPlayer) if getElementData(player, "auto.unban") then local tIP = getPlayerIP(targetPlayer) local tSerial = getPlayerSerial(targetPlayer) local tName = getPlayerName(targetPlayer) addEventHandler ( "onBan", root, function ( theBan ) local bSerial = getBanSerial ( theBan ) local bIP = getBanIP ( theBan ) local bNick = getBanNick ( theBan ) if ( tSerial [ bSerial ] or tIP [ bIP ] or tName [ bNick ] ) then removeBan ( theBan ) end end ) end end
  15. debug it. something like this function autounban(player,cmd,targetPlayer) tPlayer = getPlayerFromName(targetPlayer) if tPlayer then outputChatBox ( "tplayer = true" ) if not getElementData(tPlayer, "auto.unban") then outputChatBox ( "auto ban data = false" ) setElementData(tPlayer, "auto.unban", true) outputChatBox("You have given unbanned protection to "..targetPlayer.." !", player) else outputChatBox ( "auto ban data = true" ) setElementData(tPlayer, "lift.permission", false) outputChatBox("You have taken unbanned protestion from "..targetPlayer.." !", player) end end end
  16. denny199

    No Damage

    chek the update in the resource, it's fixed
  17. set the element to dimension 18? setElementDimension() so: addEventHandler( 'onClientResourceStart', resourceRoot, function( ) local uSound = playSound3D( 'http://79.172.241.237:8200/2000.mp3', 1836.5478515625, -1682.2998046875, 13.343364715576) setElementDimension(uSound, 18) local uSound2 = playSound3D( 'http://79.172.241.237:8000/radio1.mp3', 487.890625, -14.0380859375, 1000.6796875 , 28) setElementDimension(uSound2, 18) setSoundMaxDistance( uSound, 100 ) setSoundMaxDistance( uSound2, 100 ) end )
  18. Fout: Server unexpectedly closed network connection
  19. do you mean this? serverside function dmg(player) car = getPedOccupiedVehicle ( player) if isVehicleDamageProof(car) == true then setVehicleDamageProof(car, false) else setVehicleDamageProof(car, true) end end addCommandHandler ( "damage", dmg )
  20. this is fixing the wall: object = createObject ( 3059,2522.0080566406,-1272.9241943359,35.668983459473,0,0,359.75) or just map style: <object id="wall" doublesided="true" model="3059" interior="0" dimension="0" posX="2522.0080566406" posY="-1272.9241943359" posZ="35.668983459473" rotX="0" rotY="0" rotZ="359.75" /> </map>
×
×
  • Create New...