Morrison
Intermediate OT User
PHP:
function onLogin(cid)
if getCreatureName(cid) ~= "Account Manager" and isPlayerExample(cid) == false then
if isPlayerOnline(cid) == false then
setPlayerStatusOnline(cid)
else
doPlayerPopupFYI(cid, "You are already logged in.")
doRemoveCreature(cid, false)
return false
end
end
local outfits = {
name = "Town",
positions = {
{x = 1016, y = 1028, z = 6}
[1] = {
lookType = math.random(128,134),
lookHead = math.random(0,132),
lookBody = math.random(0,132),
lookLegs = math.random(0,132),
lookFeet = math.random(0,132),
lookTypeEx = 0,
lookAddons = 3
},
[2] = {
name = "Castle",
positions = {
{x = 1144, y = 1044, z = 6}
lookType = math.random(136,142),
lookHead = math.random(0,132),
lookBody = math.random(0,132),
lookLegs = math.random(0,132),
lookFeet = math.random(0,132),
lookTypeEx = 0,
lookAddons = 3
End
End