Jump to content

Problem


Agr2

Recommended Posts

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 accountName

aclGroupAddObject (aclGetGroup ("Taxi"), "user". .. accountName)

outputChatBox ("Account '".. .. accountName "' has been added to the taxi, " playerSource)

else

outputChatBox ("No such account", playerSource)

outputChatBox ("Use: / dodajdotaxi [account name]", playerSource)

end

end

addCommandHandler (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/AclGroupAddObject

nie wiem jak to naprawić. skrypt ze strony: https://wiki.multitheftauto.com/wiki/AclGroupAddObject

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...