GOD Esteve
New Member
- Joined
- May 18, 2011
- Messages
- 87
- Reaction score
- 1
TALKACTION - HELP
all the script it`s working but i need help to check the access of ENEMY
local ENEMY = getPlayerGUIDByName(t[2]) -- that it`s working
if ENEMY > 2 nil then -- need help on that
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sorry, u cant do this with an ADM.") -- that it`s working
return TRUE -- that it`s working
end -- that it`s working
What i need to use
if ENEMY.GetAccess() > 2 nil then
if ENEMY.GetPlayerAccess(cid) > 2 nil then
all fail,
Please how i cna solve that
all the script it`s working but i need help to check the access of ENEMY
local ENEMY = getPlayerGUIDByName(t[2]) -- that it`s working
if ENEMY > 2 nil then -- need help on that
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sorry, u cant do this with an ADM.") -- that it`s working
return TRUE -- that it`s working
end -- that it`s working
What i need to use
if ENEMY.GetAccess() > 2 nil then
if ENEMY.GetPlayerAccess(cid) > 2 nil then
all fail,
Please how i cna solve that