فاّرس Posted June 4, 2013 Posted June 4, 2013 ^ ما كنت اتوقع بيصير مشآكل, شكرآ للتنبيه, function spawn (player) if getElementType(player) == 'player' then local Team = getPlayerTeam ( player ) if Team then if Team == getTeamFromName ( "SWAT" ) then spawnPlayer (player,1859,552,321 ) else spawnPlayer (player,1835,551,321 ) end end end end addEventHandler("onPlayerSpawn",root,spawn) Sha67 سابقاً
AHMAD1234 Posted June 4, 2013 Posted June 4, 2013 ^ ما كنت اتوقع بيصير مشآكل,شكرآ للتنبيه, function spawn (player) if getElementType(player) == 'player' then local Team = getPlayerTeam ( player ) if Team then if Team == getTeamFromName ( "SWAT" ) then spawnPlayer (player,1859,552,321 ) else spawnPlayer (player,1835,551,321 ) end end end end addEventHandler("onPlayerSpawn",root,spawn) والاحداثيات فين ذي...؟؟ ,1859,552,321
فاّرس Posted June 4, 2013 Posted June 4, 2013 آي ما تحس ان الاحداثيات غير دقيقه مره..؟ اي عارف , بس في مناطق احداثياتها مكونه من رقيمين !, انا الي علي صححت له وهو عليه الباقي Sha67 سابقاً
AHMAD1234 Posted June 4, 2013 Posted June 4, 2013 آي ما تحس ان الاحداثيات غير دقيقه مره..؟ اي عارف , بس في مناطق احداثياتها مكونه من رقيمين !, انا الي علي صححت له وهو عليه الباقي The Best اوكي
~>i'Mr.ZaId<~ Posted June 5, 2013 Author Posted June 5, 2013 يا شباب لسا يقلي خطا والله وهاذ هو الكود function spawn (player) if getElementType(player) == 'player' then local Team = getPlayerTeam ( player ) if Team then if Team == getTeamFromName ( "SWAT" ) then spawnPlayer (player,1859,552,321 ) else spawnPlayer (player,1835,551,321 ) end end end end addEventHandler("onPlayerSpawn",root,spawn)
3NAD Posted June 5, 2013 Posted June 5, 2013 function spawn ( ) local Team = getPlayerTeam ( source ) local SwatTeam = getTeamFromName ( "SWAT" ) if Team and SwatTeam then if Team == SwatTeam then spawnPlayer ( source, 1859, 552, 321 ) else spawnPlayer ( source, 1835, 551, 321 ) end end end addEventHandler ( "onPlayerWasted", root, spawn )
iPrestege Posted June 5, 2013 Posted June 5, 2013 function spawn ( ) if getElementType ( source ) == "player" then local Team = getPlayerTeam ( source ) local SwatTeam = getTeamFromName ( "SWAT" ) if Team and SwatTeam then if Team == SwatTeam then spawnPlayer ( source, 1859, 552, 321 ) else spawnPlayer ( source, 1835, 551, 321 ) end end end end addEventHandler ( "onPlayerWasted", root, spawn ) وش الداعي تعرف السورس وهو معرف من الاصل؟ Wiki :The source of this event is the player that died or got killed.
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