Jump to content

تصحيح كود

Recommended Posts

السلام عليكم

ممكن تقلولي مشاكل هل كود حطيته اول ما واحد يكبس على تيم شرطي يعطيه عصا الحين انا ابي ادخله بس ياخذ نجوم ما يقدر يدخل يقله انت مطلوب للعداله واقدر احط كمان باند شرطه لمده معينه طبعا ممكن الفنكشات

addEvent("onPlayerEnter", true) 
addEventHandler("onPlayerEnter", resourceRoot, 
local playerTeam = getPlayerTeam(player) 
    if ( getTeamName(playerTeam) == "Police" ) then 
    setPlayerTeam ( thePlayer, team ) 
    giveWeapon ( source, 3, 1 ) 

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...