Jump to content

IIYAMA

Moderators
  • Posts

    6,089
  • Joined

  • Last visited

  • Days Won

    216

Everything posted by IIYAMA

  1. IIYAMA

    Question

    but it is not possible to set damage? They must be make a handler..... onElementDamage... -_-" or onElementGetHitByExplosion.. damn... Damn I love the resource syncro with its damage syncs... Only I hate the anti bug use script.
  2. IIYAMA

    Question

    Hello My Question: Is it possible to let 1 player kill another player by script? I mean a kind of slap script that slaps this player by another player. It must be also visible in killmessage. Player > kills > Player.
  3. I get the feeling this script is stolen....
  4. First of all always put a handler... when must this ... script be activated..... Second of all I have never used a return on my script. I always use else... I have no idea why use a return instead of using else. ........ why are you scripting so PRO and so not PRO....... You made that script or you just get it out of another script. I don't get it. BE MORE CLEAR
  5. well that means your export function does not work very well..... This does not work: local rank12 = exports.race:getPlayerRank( player_Wasted ) So put this script in race folder. Make sure you also change meta there. and use: local rank12 = getPlayerRank( player_Wasted ) Does this not work.... than the rank script of race does not work like that. ... Don't be stuppit to write the operators like that... -- in race folder function bastardDied( player_Wasted ) local rank = getPlayerRank( player_Wasted ) if(rank == 2) then local pointsToDie = 5 local playerPoints = tonumber">tonumber">tonumber ( loadPlayerData( player_Wasted, "points" ) ) savePlayerData( player_Wasted, "points", playerPoints + pointsToDie ) outputChatBox ( "#c0c0c0* #abcdef"..string.gsub(getPlayerName (player_Wasted),"#%x%x%x%x%x%x","").." #c0c0c0has finished this round in second place and got #abcdef5 #c0c0c0points!", root, 255, 255, 255, true ) elseif(rank == 3) then local pointsToDie = 3 local playerPoints = tonumber">tonumber ( loadPlayerData( player_Wasted, "points" ) ) savePlayerData( player_Wasted, "points", playerPoints + pointsToDie ) outputChatBox ( "#c0c0c0* #abcdef"..string.gsub(getPlayerName (player_Wasted),"#%x%x%x%x%x%x","").." #c0c0c0has finished this round in third place and got #abcdef3 #c0c0c0points!", root, 255, 255, 255, true ) elseif(rank > 3 and rank < 31) then local pointsToDie = 1 local playerPoints = tonumber">tonumber">tonumber ( loadPlayerData( player_Wasted, "points" ) ) savePlayerData( player_Wasted, "points", playerPoints - pointsToDie ) outputChatBox ( "#c0c0c0* #abcdefYou died and lost #abcdef1 #c0c0c0point!", player_wasted, 255, 255, 255, true ) end end addEventHandler("onPlayerWasted", getRootElement(), bastardDied)
  6. Why don't you check your script first? try this.
  7. First shutdown your server. Go to mta folder>server>mods>deathmatch open with notepath> mtaserver.conf Do ctrl + f and look for "fpslimit" or just find the word fpslimit. Between here: (normally 36) You better change this to max 45/50. If you go high there will be some strange bugs. (100 fps = you can't walk with m4, if you is able to make that 100 fps.) Then start your server again.
  8. I am stuppit or does he means how to find a damn word in a not path.... maybe you mean the command: ctrl + F ???? (windows) CMD + F (apple... if you have a apple like me I write sometimes my codes at school )
  9. well go look for color codes...
  10. You want people to become mods and smods, is it not?
  11. drake why use that operator? Why not use: elseif(rank > 3 and rank < 31) then -- and elseif(rank > 30 ) then
  12. I am blind? I already throwed it of my script... oh not lol.. This script should not need to work in the first place.
  13. oh shut the fuck off you didn't even mark the things you changed and also you let the script much to long. I don't get it how somebody from other side can trigger your script. end end addEventHandler("onPlayerWasted", getRootElement(), bastardDied) end end You also need to removed one end.> You removed inpairs
  14. that handler I don't know: I am not sure if an event can also activate the trigger. Because the event does not have target the script... Can't you put handler out of the function? If you trigger from other side client/server, can't you better use? addEvent ( "onPlayerWasted", true )
  15. IIYAMA

    Aim and walk

    ehm, strange bug. What is your local fps on the server? Because I know this bug: when you put your fps higher than 70, you wont be able to shoot and walk at the same time. Circa 45 is good.
  16. IIYAMA

    Water function

    ok, well I created them with the editor. But about the water. If your water is invisible, you can place with the editor fake water above your invisible water. and to finish it, you use dark blue conor markers at the bottom of the water. ~~~~~~~~~~~~~~~~~~ ~~W~~A~~T~~E~~R~~ ~~~~~~~~~~~~~~~~~~
  17. IIYAMA

    Hud Replacement

    So when you write that in the .txd it will automatic change your hud?
  18. IIYAMA

    Hud Replacement

    You can try to download a gta4 mod. Remove the other files. Only hold the .txd files. Remove the weapon/other useless image and make sure only the hud replacer is in the .txd files. Than you put your image in there..... It is not so easy as it looks like... It is your choose.
  19. ok, that sounds interresting "paid scripter". Only mta scripts or also php, flash actionscript < this looks like it a little (for websites)?
  20. Solidsnake are you doing this all day? (I mean helping people with scripting) No school or work
×
×
  • Create New...