Narutimmy Posted February 27, 2013 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. mtasa://66.85.14.178:22003 Ts3: thezombiworld.com:7777
NodZen Posted February 27, 2013 Posted February 27, 2013 Usa : getAccountData setAccountData ------------------------------------------------------------------------------------------ My scripts http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977 http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740
Renkon Posted February 28, 2013 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
Renkon Posted February 28, 2013 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
NodZen Posted March 2, 2013 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. ------------------------------------------------------------------------------------------ My scripts http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977 http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740
Renkon Posted March 2, 2013 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
Recommended Posts