Jump to content

[Ayuda con Gang System]


Crespo_

Recommended Posts

addEventHandler ("onPlayerChangeNick", root,  
function (old, new) 
    if not isGuestAccount (getPlayerAccount(source)) then 
        local mygang = getElementData(source,"Gang") 
        local cuenta = getAccountName(getPlayerAccount(source)) 
        if mygang ~= "" then 
            executeSQLUpdate("GangMembers", "MemberName = '".. tostring(new) .."'", "MemberAccount = '"..tostring(cuenta).."'") 
            if getElementData (source, "gangLeader") == "yes" then 
                executeSQLUpdate("Gangs", "LeaderName = '"..tostring(new).."'", "GangName = '".. tostring(mygang) .."'") 
            end 
        end 
    end 
end) 

Soy TraficanteDeCrack y tengo el servidor yo con Crespo y el script me da este error como hago??

Link to comment
  • Recently Browsing   0 members

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