Jump to content

Reezmi

Members
  • Posts

    46
  • Joined

  • Last visited

Everything posted by Reezmi

  1. Maybe you have different interior for objects?
  2. Here is what i mean: Why is this and is there a way to fix this?
  3. Hey, i just tested your script and i want to know if its possible to reduce vehicle, pedestrian count? And btw will you make in future npc cars steal'able? That would be nice.
  4. Thanks, now it works. Always making stupid mistakes
  5. function giveNitro () local theVehicle = getPedOccupiedVehicle ( thePlayer ) if theVehicle then outputDebugString('vehicle') addVehicleUpgrade ( theVehicle, 1010 ) else outputDebugString('foot') end end function bindNitro () outputDebugString('loaded') bindKey ( "fire", "both", giveNitro ) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), bindNitro) function bindNitroForJoinedPlayer() bindKey ( "fire", "both", giveNitro ) end addEventHandler("onPlayerJoin", getResourceRootElement(getThisResource()), bindNitroForJoinedPlayer) As title says, it doesnt work on cars. Am I missing something?
  6. Finally you finished this, i was waiting for it Where can i play this?
  7. wut. I think you should make race with skating
  8. Reezmi

    Parking System

    wouldnt it be pain in ass to add every single marker in sa?
  9. Thanks, worked perfectly! Many thanks
  10. Is there a way to add friendly for specific player not for everyone? I was thinking about adding to client side but it seems friendly fire doesnt support client side If you know how, then please tell me. Also i need the same thing for mission timer. I tried with setElementVisibleTo but it didnt seem to work
  11. Is there a way to call a local to other script? Like from server to client. I need this because these functions arent usable in client-side script. Server side -->> deliveryvehicle = createVehicle (veh, 2188.0070800781,1435.4604492188,10.524965286255) setTimer ( warpPedIntoVehicle, 1000, 1, source, deliveryvehicle ) Im talking about deliveryvehicle, is there a way to call these to client? Client side -->> destroyElement(deliveryvehicle) I'v been trying to figure this out for hours
  12. How am i supposed to get these files: - First please download server files needed to run MySQL server.zip server.zip for german hosting if it is asks me for premium account to download
  13. Thanks, but i already fixed this. Sorry for not posting
  14. I tried these but now then I type /enterdm nothing happens. Here's code: addCommandHandler("enterdm", function (player) if isPedInVehicle ( player ) then outputChatBox("#FFFFFFYou must be on foot to join DM!",player,255,0,0,true) else local playerInDM = getElementData( player, "playerInDMData" ) if playerInDM == false then local inDMMod = getElementData( player, "inDMModData" ) local r,g,b = getPlayerNametagColor ( player ) local playerName = getPlayerName ( player ) local x, y, z = unpack( pSpawns [ math.random( #pSpawns ) ] ) outputChatBox ( playerName.." #FFFFFFhas joined DM. Type /enterdm to join him ", getRootElement(), r, g, b, true ) setElementPosition ( player, x, y, z ) setElementFrozen(player, true) setElementInterior ( player, 0 ) setElementDimension ( player, 0 ) setTimer(setElementFrozen, 3000, 1, player, false) takeAllWeapons ( player ) giveWeapon ( player, 8, 1000 ) giveWeapon ( player, 24, 1000 ) giveWeapon ( player, 26, 1000 ) giveWeapon ( player, 30, 1000 ) giveWeapon ( player, 34, 1000 ) setElementData ( player, "playerInDMData", true ) setElementData ( player, "inDMModData", true ) elseif inDMMod == true then outputChatBox("#FFFFFFYou are already in DM!",player,255,0,0,true) outputChatBox("#FFFFFFIf you want to leave type /exitevent!",player,255,0,0,true) end end end) Am i missing something?
  15. Hello! I was wondering if there is a way to make these - playerInDM = true inDMMod = true only for one player not for everyone beccause these enables for everyone and thats a problem for me Here is source: addCommandHandler("enterdm", function (player) if isPedInVehicle ( player ) then outputChatBox("#FFFFFFYou must be on foot to join DM!",player,255,0,0,true) else if playerInDM == false then local r,g,b = getPlayerNametagColor ( player ) local playerName = getPlayerName ( player ) local x, y, z = unpack( pSpawns [ math.random( #pSpawns ) ] ) outputChatBox ( playerName.." #FFFFFFhas joined DM. Type /enterdm to join him ", getRootElement(), r, g, b, true ) setElementPosition ( player, x, y, z ) setElementFrozen(player, true) setElementInterior ( player, 0 ) setElementDimension ( player, 0 ) setTimer(setElementFrozen, 3000, 1, player, false) takeAllWeapons ( player ) giveWeapon ( player, 8, 1000 ) giveWeapon ( player, 24, 1000 ) giveWeapon ( player, 26, 1000 ) giveWeapon ( player, 30, 1000 ) giveWeapon ( player, 34, 1000 ) playerInDM = true inDMMod = true elseif inDMMod == true then outputChatBox("#FFFFFFYou are already in DM!",player,255,0,0,true) outputChatBox("#FFFFFFIf you want to leave type /exitevent!",player,255,0,0,true) end end end)
  16. Nice map, i liked your ideas and i think night was cooler
  17. Thanks, Im glad you like it! And yes it was based on Black versions by Aibo because i liked more square than round.
  18. Hello, today I created my first theme for MTA. It is about Subaru, hope you like it. NOTE: Before adding this theme make sure to create backup for MTA (folder) if you want to uninstall it or something went wrong. Download: http://www.mediafire.com/?ae159ltzll37116 Here are some screenies: At Resolution: 1364x768 At Resolution: 1024x768
  19. Wow, cool panel. Car garage looks epic.
×
×
  • Create New...