ABO-SR777777A Posted October 22, 2012 Author Share Posted October 22, 2012 طيب يا حسن هات الكود Link to comment
ABO-SR777777A Posted October 22, 2012 Author Share Posted October 22, 2012 فهمني صح طيب Link to comment
hassan.k.s.a Posted October 22, 2012 Share Posted October 22, 2012 جرب هذا Team1 = createTeam ( "Police", 0, 255, 0 )--غير اسم التيم لو تبي Team2 = createTeam ( "Gang", 0, 255, 0 )--غير اسم التيم لو تبي -- addEventHandler("onPlayerWasted", root, function Wasted() local team1 = getTeamFromName( "Police" ) local team2 = getTeamFromName( "Gang" ) local pteam = getPlayerTeam( source ) if ( pteam == team1 ) then spawnPlayer ( source, x, y, z, 0, 0, 0, 0,team1 ) --Add Position x,y,z setTeamName ( Team2, source ) fadeCamera( source, true ) setCameraTarget( source ,source ) elseif ( pteam == team2 ) then spawnPlayer ( source, x, y, z, 0, 0, 0, 0,team2 ) --Add Position x,y,z setTeamName ( Team1, source ) fadeCamera( source, true ) setCameraTarget( source, source ) end end) Link to comment
3NAD Posted October 22, 2012 Share Posted October 22, 2012 فهمني صح طيب اولاً الأكواد الجاهزة تخليكـ تعتمد على غيركـ و ماتتعلم ثانياً ادخل الصفحة ذي وافهم اللي فيها وحاول تطبق https://wiki.multitheftauto.com/wiki/Scr ... ed_to_know واعتقد الشباب ماقصروا في تعريب الويكي . . / Link to comment
abu5lf Posted October 22, 2012 Share Posted October 22, 2012 جرب هذا Team1 = createTeam ( "Police", 0, 255, 0 )--غير اسم التيم لو تبي Team2 = createTeam ( "Gang", 0, 255, 0 )--غير اسم التيم لو تبي -- addEventHandler("onPlayerWasted", root, function Wasted() local team1 = getTeamFromName( "Police" ) local team2 = getTeamFromName( "Gang" ) local pteam = getPlayerTeam( source ) if ( pteam == team1 ) then spawnPlayer ( source, x, y, z, 0, 0, 0, 0,team1 ) --Add Position x,y,z setTeamName ( Team2, source ) fadeCamera( source, true ) setCameraTarget( source ,source ) elseif ( pteam == team2 ) then spawnPlayer ( source, x, y, z, 0, 0, 0, 0,team2 ) --Add Position x,y,z setTeamName ( Team1, source ) fadeCamera( source, true ) setCameraTarget( source, source ) end end) Wrong Link to comment
hassan.k.s.a Posted October 22, 2012 Share Posted October 22, 2012 (edited) جرب هذا Team1 = createTeam ( "Police", 0, 255, 0 )--غير اسم التيم لو تبي Team2 = createTeam ( "Gang", 0, 255, 0 )--غير اسم التيم لو تبي -- addEventHandler("onPlayerWasted", root, function Wasted() local team1 = getTeamFromName( "Police" ) local team2 = getTeamFromName( "Gang" ) local pteam = getPlayerTeam( source ) if ( pteam == team1 ) then spawnPlayer ( source, x, y, z, 0, 0, 0, 0,team1 ) --Add Position x,y,z setTeamName ( Team2, source ) fadeCamera( source, true ) setCameraTarget( source ,source ) elseif ( pteam == team2 ) then spawnPlayer ( source, x, y, z, 0, 0, 0, 0,team2 ) --Add Position x,y,z setTeamName ( Team1, source ) fadeCamera( source, true ) setCameraTarget( source, source ) end end) Wrong I really do not know What he wants Edited October 22, 2012 by Guest Link to comment
abu5lf Posted October 22, 2012 Share Posted October 22, 2012 I really do not know Mairead هههههههههههههههههههههههه Link to comment
GAME_OVER!! Posted October 22, 2012 Share Posted October 22, 2012 I really do not know Mairead هههههههههههههههههههههههه Why? Link to comment
|Mr|-Talal07-| Posted October 22, 2012 Share Posted October 22, 2012 فهمني صح طيب اولاً الأكواد الجاهزة تخليكـ تعتمد على غيركـ و ماتتعلم ثانياً ادخل الصفحة ذي وافهم اللي فيها وحاول تطبق https://wiki.multitheftauto.com/wiki/Scr ... ed_to_know واعتقد الشباب ماقصروا في تعريب الويكي . . / +1 تعلم مثل ما تعلمنا و احنا هنا نحل المشاكل الي في كودك ما نعطيك الكود جاهز Link to comment
ABO-SR777777A Posted October 22, 2012 Author Share Posted October 22, 2012 اوكي باحاول افهم ويا حسن باجرب الكود Link to comment
Sora Posted October 22, 2012 Share Posted October 22, 2012 جرب هذا Team1 = createTeam ( "Police", 0, 255, 0 )--غير اسم التيم لو تبي Team2 = createTeam ( "Gang", 0, 255, 0 )--غير اسم التيم لو تبي -- addEventHandler("onPlayerWasted", root, function Wasted() local team1 = getTeamFromName( "Police" ) local team2 = getTeamFromName( "Gang" ) local pteam = getPlayerTeam( source ) if ( pteam == team1 ) then spawnPlayer ( source, x, y, z, 0, 0, 0, 0,team1 ) --Add Position x,y,z setTeamName ( Team2, source ) fadeCamera( source, true ) setCameraTarget( source ,source ) elseif ( pteam == team2 ) then spawnPlayer ( source, x, y, z, 0, 0, 0, 0,team2 ) --Add Position x,y,z setTeamName ( Team1, source ) fadeCamera( source, true ) setCameraTarget( source, source ) end end) ابي افهم بالله وش دخل setTeamName ?!?!?! Link to comment
|Mr|-Talal07-| Posted October 22, 2012 Share Posted October 22, 2012 شكله يقصد setPlayerTeam Link to comment
ABO-SR777777A Posted October 23, 2012 Author Share Posted October 23, 2012 الكود ماشتغل 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