Jump to content

Recommended Posts

Witam mam pytanie mam otóż ten kod:

Assassyni = createTeam ( "Assassyni", 51, 102, 255 )  
  
  
function Assassyni ( thePlayer )  
local playerName = getAccountName ( getPlayerAccount ( thePlayer ) )     
if isObjectInACLGroup ( "user." .. playerName, aclGetGroup ( "Assassyni" ) ) then  
setPlayerTeam ( thePlayer, Assassyni )  
giveWeapon ( thePlayer, 4, 10000 ) 
giveWeapon ( thePlayer, 24, 100 ) 
giveWeapon ( thePlayer, 30, 2500 )  
giveWeapon ( thePlayer, 17, 25 ) 
giveWeapon ( thePlayer, 41, 3000 )  
setPedArmor ( thePlayer, 100 )  
setElementModel ( thePlayer, 110 ) 
setElementModel ( thePlayer, 114 )  
setElementPosition ( thePlayer, -1968.5272216797, 293.55743408203, 34.821102142334 )  
setPlayerNametagColor ( thePlayer, 51, 102, 255 )  
else  
  
outputChatBox( "Nie należysz do Assassynów!", getRootElement())  
end  
end  
addCommandHandler ( "assassyni", Assassyni )  

I teraz jak zrobić aby po wpisaniu komendy gracz nie mógł już jej wpisać?

Edited by Guest
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...