Tando Posted January 11, 2019 Share Posted January 11, 2019 function test ( ) if getElementData(player, "Job") == "CIA" then if getElementData(player, "Clan") == "BBY" then outputChatBox("You can't get this job ",player) end Is This function true ? i want clan can't get this job oh this job for public but i need just 1clan can't get it Link to comment
Z4Zy Posted January 12, 2019 Share Posted January 12, 2019 No, that function isn't true since it doesn't fix errors. And you should define whom is 'player' variable. function test ( ) if getElementData(player, "Job") == "CIA" then if getElementData(player, "Clan") == "BBY" then outputChatBox("You can't get this job ",player) end end end Link to comment
Tando Posted January 12, 2019 Author Share Posted January 12, 2019 Just now, DeadthStrock said: No, that function isn't true since it doesn't fix errors. And you should define whom is 'player' variable. function test ( ) if getElementData(player, "Job") == "CIA" then if getElementData(player, "Clan") == "BBY" then outputChatBox("You can't get this job ",player) end end end function test ( player ) if getElementData(player, "Job") == "CIA" then if getElementData(player, "Clan") == "BBY" then outputChatBox("You can't get this job ",player) end end end thats u mean? Link to comment
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