Agr2 Posted May 21, 2011 Share Posted May 21, 2011 Witam. mam problem ze skryptem z mta sa wiki wygląda on tak: function taxidodaj (playerSource, commandName, accountName) if accountName then aclGroupAddObject (aclGetGroup("Taxi"), "user."..accountName) outputChatBox ("Konto '"..accountName.."' zostalo dodane do taxi", playerSource) else outputChatBox ("Nie ma takiego konta!", playerSource) outputChatBox ("Użyj: /dodajdotaxi [nazwa konta]", playerSource) end end addCommandHandler ("dodajdotaxi", taxidodaj) i po wpisaniu komendy: /dodajdotaxi pokazuje tylko wiadomość że gracz został dodany do taxi i tyle ENG Hello. I have a problem with the script of the mta sa wiki: ( it looks like: function taxidodaj (playerSource, commandname, accountName)then if accountNameaclGroupAddObject (aclGetGroup ("Taxi"), "user". .. accountName)outputChatBox ("Account '".. .. accountName "' has been added to the taxi, " playerSource)elseoutputChatBox ("No such account", playerSource)outputChatBox ("Use: / dodajdotaxi [account name]", playerSource)endendaddCommandHandler (dodajdotaxi "taxidodaj) [/ code]and after entering the command: / dodajdotaxi shows only the message that the player was added to the taxi and so much: (I do not know how to fix it. script from the website: https://wiki.multitheftauto.com/wiki/AclGroupAddObjectnie wiem jak to naprawić. skrypt ze strony: https://wiki.multitheftauto.com/wiki/AclGroupAddObject Link to comment
Castillo Posted May 22, 2011 Share Posted May 22, 2011 This is in the wrong section, also, your post should be english-only, you can post in the Languages section too, they may understand. Link to comment
CowTurbo Posted May 22, 2011 Share Posted May 22, 2011 have u added group "Taxi" to the acl ? 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