I'm a biggener lua developer, I'm having a problem in one of my scripts I'm trying to build.
function lookright()
local skin = getPedSkin(client)
local playerTeam = getPlayerTeam(client)
if (playerTeam = getTeamName(ekri)) then
if (client) then
setPedSkin(client, skin+1)
end
else
setPedSkin(client, 50)
end
end
addEvent("right", true)
addEventHandler("right", getRootElement(), right)
the problem is in
if (playerTeam = getTeamName(ekri)) then
is it right? I want if the player team is ekri then ...
Question
A3kri
Hello ..
I'm a biggener lua developer, I'm having a problem in one of my scripts I'm trying to build.
the problem is in
is it right? I want if the player team is ekri then ...
Link to comment
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now