فاّرس Posted June 4, 2013 Share 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) Link to comment
AHMAD1234 Posted June 4, 2013 Share 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 Link to comment
AHMAD1234 Posted June 4, 2013 Share Posted June 4, 2013 آي ما تحس ان الاحداثيات غير دقيقه مره..؟ Link to comment
فاّرس Posted June 4, 2013 Share Posted June 4, 2013 آي ما تحس ان الاحداثيات غير دقيقه مره..؟ اي عارف , بس في مناطق احداثياتها مكونه من رقيمين !, انا الي علي صححت له وهو عليه الباقي Link to comment
AHMAD1234 Posted June 4, 2013 Share Posted June 4, 2013 آي ما تحس ان الاحداثيات غير دقيقه مره..؟ اي عارف , بس في مناطق احداثياتها مكونه من رقيمين !, انا الي علي صححت له وهو عليه الباقي The Best اوكي Link to comment
~>i'Mr.ZaId<~ Posted June 5, 2013 Author Share 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) Link to comment
iPrestege Posted June 5, 2013 Share Posted June 5, 2013 الحين متى تبي يصير لة السباون ؟ يوم يخش الروم؟ Link to comment
3NAD Posted June 5, 2013 Share 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 ) Link to comment
iPrestege Posted June 5, 2013 Share 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. 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