ertlflorian1 Posted August 9, 2012 Share Posted August 9, 2012 Hello I have a problem, this marker does not appear in the game, I would also like that when you go to the marker you must enter fskin and that this command can only do every 30 minutes. [16:15:50] SCRIPT ERROR: Godmother\Fraktionen\Los Aztecas\Aztecas.lua:1: '=' exp ected near 'Ã' [16:15:50] WARNING: Loading script failed: Godmother\Fraktionen\Los Aztecas\Azte cas.lua:1: '=' expected near 'Ã' ausrüstung = createMarker ( -768.149, 2413.324, 157.320, "corona", 1.5, 0, 255, 0) function fskin(thePlayer) local fac = getElementData(thePlayer,"Fraktion") local rank = getElementData(thePlayer,"Rank") if (fac == 7) then if (rank == 0) then giveWeapon ( thePlayer, 24, 100 ) giveWeapon ( thePlayer, 32, 100 ) giveWeapon ( thePlayer, 31, 100 ) giveWeapon ( thePlayer, 34, 50 ) giveWeapon ( thePlayer, 46, 1 ) giveWeapon ( thePlayer, 36, 5 ) giveWeapon ( thePlayer, 39, 5 ) giveWeapon ( thePlayer, 40, 5 ) setElementModel(thePlayer, 114) elseif (rank == 1) then giveWeapon ( thePlayer, 24, 200 ) giveWeapon ( thePlayer, 32, 200 ) giveWeapon ( thePlayer, 31, 200 ) giveWeapon ( thePlayer, 34, 75 ) giveWeapon ( thePlayer, 46, 1 ) giveWeapon ( thePlayer, 36, 10 ) giveWeapon ( thePlayer, 39, 10 ) giveWeapon ( thePlayer, 40, 10 ) setElementModel(thePlayer, 116) elseif (rank == 2) then giveWeapon ( thePlayer, 24, 300 ) giveWeapon ( thePlayer, 32, 300 ) giveWeapon ( thePlayer, 31, 300 ) giveWeapon ( thePlayer, 34, 100 ) giveWeapon ( thePlayer, 46, 1 ) giveWeapon ( thePlayer, 36, 15 ) giveWeapon ( thePlayer, 39, 15 ) giveWeapon ( thePlayer, 40, 15 ) setElementModel(thePlayer,109) elseif (rank == 3) then giveWeapon ( thePlayer, 24, 400 ) giveWeapon ( thePlayer, 32, 400 ) giveWeapon ( thePlayer, 31, 400 ) giveWeapon ( thePlayer, 34, 125 ) giveWeapon ( thePlayer, 46, 1 ) giveWeapon ( thePlayer, 36, 20 ) giveWeapon ( thePlayer, 39, 20 ) giveWeapon ( thePlayer, 40, 20 ) setElementModel(thePlayer,108) elseif (rank == 4) then giveWeapon ( thePlayer, 24, 500 ) giveWeapon ( thePlayer, 32, 500 ) giveWeapon ( thePlayer, 31, 500 ) giveWeapon ( thePlayer, 34, 150 ) giveWeapon ( thePlayer, 46, 1 ) giveWeapon ( thePlayer, 36, 25 ) giveWeapon ( thePlayer, 39, 25 ) giveWeapon ( thePlayer, 40, 25 ) setElementModel(thePlayer,110) elseif (rank == 5) then giveWeapon ( thePlayer, 31, 600 ) giveWeapon ( thePlayer, 32, 600 ) giveWeapon ( thePlayer, 31, 600 ) giveWeapon ( thePlayer, 34, 200 ) giveWeapon ( thePlayer, 46, 1 ) giveWeapon ( thePlayer, 36, 30 ) giveWeapon ( thePlayer, 39, 30 ) giveWeapon ( thePlayer, 40, 30 ) setElementModel(thePlayer,115) end end end addEventHandler("onMarkerHit", ausrüstung, fskin) Sorry for my bad English, i have it translated. Link to comment
TAPL Posted August 9, 2012 Share Posted August 9, 2012 What is this language ausrüstung change it to English without decorations. Link to comment
Anderl Posted August 9, 2012 Share Posted August 9, 2012 ausrüstung ü These symbols are not allowed. Link to comment
ertlflorian1 Posted August 10, 2012 Author Share Posted August 10, 2012 Thank you and how I can make that this command can only used every 30 minutes? Link to comment
Kenix Posted August 10, 2012 Share Posted August 10, 2012 setTimer addCommandHandler removeCommandHandler Link to comment
ertlflorian1 Posted August 10, 2012 Author Share Posted August 10, 2012 Kenix can you edit it for me? Link to comment
Agon Posted August 10, 2012 Share Posted August 10, 2012 Kenix can you edit it for me? seriously, what? scripters won't edit or make scripts for you they just give you tips or the correct form of the script. Try making it yourself. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now