• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved HELP FUNCION - TALKACTIONS

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
 
Sorry for don`t be so much expect, but i try more times and solved,

Using TFS 0.3

getPlayerGroupId(getPlayerByGUID(ENEMY)) > 2 then

THAT SOLVED TO ME,

CAN CLOSE,

THANKS ALLWAYS
 
Back
Top