Narutimmy Posted February 27, 2013 Share Posted February 27, 2013 Hola bueno como puedo hacer que un scrip que verifique si el que use un skin es su propietario? Me explico... yo tengo un skin personal y otro admin se lo pone, quiero que cada tanto verifique si soy yo el que lo esta usando y de no ser asi que lo bane. Link to comment
NodZen Posted February 27, 2013 Share Posted February 27, 2013 Usa : getAccountData setAccountData Link to comment
Renkon Posted February 28, 2013 Share Posted February 28, 2013 for _, p in ipairs(getElementsByType("player")) do if getElementModel(p) == xxx then if getPlayerName(p) ~= "Narutimmy" then banearPersonaRobadoradeModel(p) end end end Link to comment
Renkon Posted February 28, 2013 Share Posted February 28, 2013 for _, p in ipairs(getElementsByType("player")) do if getElementModel(p) == xxx then if getPlayerName(p) ~= "Narutimmy" then banearPersonaRobadoradeModel(p) end end end Link to comment
NodZen Posted March 2, 2013 Share Posted March 2, 2013 for _, p in ipairs(getElementsByType("player")) do if getElementModel(p) == xxx then if getPlayerName(p) ~= "Narutimmy" then banearPersonaRobadoradeModel(p) end end end Es mejor con elementData. Link to comment
Renkon Posted March 2, 2013 Share Posted March 2, 2013 for _, p in ipairs(getElementsByType("player")) do if getElementModel(p) == xxx then if getPlayerName(p) ~= "Narutimmy" then banearPersonaRobadoradeModel(p) end end end Es mejor con elementData. No lo es.... es solo usar getAccountName getPlayerAccount o simplemente getPlayerNAme Link to comment
Recommended Posts