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