Jump to content

كود انتقال الاعب بعد الموت


Recommended Posts

ابي كود الي هو لما احد يدخل السرفر يروح لمكان معين

يعني اول ما يدخل يروح للأحدثيات انا بحطها ولما يموت يرجع لها ثاني

Edited by Guest
Link to comment
  
Server Side ! 
addEventHandler("onPlayerJoin",root, 
function () 
spawnPlayer ( source, x, y, z, 18, idSkin, 0, 0) 
end 
) 
addEventHandler("onPlayerWested",root, 
function () 
spawnPlayer ( source, x, y, z, 18, idSkin, 0, 0) 
end 
) 
  

ي حول الله خلة يجرب طيب ؟

Link to comment
"onPlayerJoin" 
"onPlayerWasted" 
spawnPlayer 

ي ليت تراجع عنوان موضوعكـ مع القوانين ..

مشكور على المساعدة+ تم تعديل اسم العنوان

+

انا اول ما دخلت

SpawnPlayer</p>\n<p>

عطاني

bool spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) 

انا عرفت الأحدثيات لكن في اشياء ما فهمتها

وذا الي انا سويتو

function greetPlayer ( ) 
function player_Wasted ( ammo, attacker, weapon, bodypart ) 
bool spawnPlayer ( player thePlayer, x,  y,  z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) 

Link to comment

كل الاشياء الي بالويكي الي تلاقيها داخل قوس مثل كذا

[arg, arg] 

هذي تعني ان الارقيومنتات هذي اختيارياً , يعني اذا تبي تحطها حطها اذا ما تبي لا تحط

Link to comment
"onPlayerJoin" 
"onPlayerWasted" 
spawnPlayer 

ي ليت تراجع عنوان موضوعكـ مع القوانين ..

مشكور على المساعدة+ تم تعديل اسم العنوان

+

انا اول ما دخلت

SpawnPlayer</p>\n<p>

عطاني

bool spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) 

انا عرفت الأحدثيات لكن في اشياء ما فهمتها

وذا الي انا سويتو

function greetPlayer ( ) 
function player_Wasted ( ammo, attacker, weapon, bodypart ) 
bool spawnPlayer ( player thePlayer, x,  y,  z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) 

bool spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) 

الباقيين ماعليك منهم ,

إلي بين [ ]

هذول اختيارين يعني تبي تحطهم او لا ع كيففكك

bool spawnPlayer ( player thePlayer, float x, float y, float z,) 

:wink:

Link to comment
"onPlayerJoin" 
"onPlayerWasted" 
spawnPlayer 

ي ليت تراجع عنوان موضوعكـ مع القوانين ..

مشكور على المساعدة+ تم تعديل اسم العنوان

+

انا اول ما دخلت

SpawnPlayer</strong></p>\n<p><strong>

عطاني

bool spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) 

انا عرفت الأحدثيات لكن في اشياء ما فهمتها

وذا الي انا سويتو

function greetPlayer ( ) 
function player_Wasted ( ammo, attacker, weapon, bodypart ) 
bool spawnPlayer ( player thePlayer, x,  y,  z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) 

bool spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) 

الباقيين ماعليك منهم ,

إلي بين [ ]

هذول اختيارين يعني تبي تحطهم او لا ع كيففكك

bool spawnPlayer ( player thePlayer, float x, float y, float z,) 

:wink:

ي حبيبي راججع الويكي وتعرف ان كودك غلط !!

Link to comment
  
Server Side ! 
addEventHandler("onPlayerJoin",root, 
function () 
spawnPlayer ( source, x, y, z, 18, idSkin, 0, 0) 
end 
) 
addEventHandler("onPlayerWested",root, 
function () 
spawnPlayer ( source, x, y, z, 18, idSkin, 0, 0) 
end 
) 
  

ي حول الله خلة يجرب طيب ؟

Server Side ! 
addEventHandler("onPlayerJoin",root, 
function () 
spawnPlayer ( source, 3422.7333984375,-3008.86328125, 154.81094360352, 18, idSkin, 0, 0) ---- الحدثيات  
end 
) 
addEventHandler("onPlayerWested",root, 
function () 
spawnPlayer ( source, 3422.7333984375,-3008.86328125, 154.81094360352, 18, idSkin, 0, 0) ----- نفس الأحدثيات؟ 
end 
) 

Link to comment
"onPlayerJoin" 
"onPlayerWasted" 
spawnPlayer 

ي ليت تراجع عنوان موضوعكـ مع القوانين ..

مشكور على المساعدة+ تم تعديل اسم العنوان

+

انا اول ما دخلت

SpawnPlayer</p>\n<p>

عطاني

bool spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) 

انا عرفت الأحدثيات لكن في اشياء ما فهمتها

وذا الي انا سويتو

function greetPlayer ( ) 
function player_Wasted ( ammo, attacker, weapon, bodypart ) 
bool spawnPlayer ( player thePlayer, x,  y,  z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) 

bool spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) 

الباقيين ماعليك منهم ,

إلي بين [ ]

هذول اختيارين يعني تبي تحطهم او لا ع كيففكك

bool spawnPlayer ( player thePlayer, float x, float y, float z,) 

:wink:

مشكور

Link to comment
  
Server Side ! 
addEventHandler("onPlayerJoin",root, 
function () 
spawnPlayer ( source, x, y, z, 18, idSkin, 0, 0) 
end 
) 
addEventHandler("onPlayerWested",root, 
function () 
spawnPlayer ( source, x, y, z, 18, idSkin, 0, 0) 
end 
) 
  

ي حول الله خلة يجرب طيب ؟

Server Side ! 
addEventHandler("onPlayerJoin",root, 
function () 
spawnPlayer ( source, 3422.7333984375,-3008.86328125, 154.81094360352, 18, idSkin, 0, 0) ---- الحدثيات  
end 
) 
addEventHandler("onPlayerWested",root, 
function () 
spawnPlayer ( source, 3422.7333984375,-3008.86328125, 154.81094360352, 18, idSkin, 0, 0) ----- نفس الأحدثيات؟ 
end 
) 

-- حبيبي

الاول عند دخول الاعب

الثاني عند موت الاعب

كل شي صحيح باقي تعدل على

idSkin

خله ايدي الشخصية اللي تبيها للاعب اذا دخل او اذا مات

Link to comment
spawnPlayer ( player ,  x,  y,  z, rotation, skinID ,  interior , dimension , Team ) 

x , y, z, .. الاحداثيات حق السباون

rotation ... اتجاه البيد

skinID ... آيدي الشخصية الى تبيها مع السباون

interior ... ذا حق الآماكن

dimension ... عالم وهمي

Team ... اسم الفريق الى تريده يوم يسوي سباون يصير فيه

اذا تبي فقط سباون

spawnPlayer ( player ,  x,  y,  z ) 

Link to comment
spawnPlayer ( player ,  x,  y,  z, rotation, skinID ,  interior , dimension , Team ) 

x , y, z, .. الاحداثيات حق السباون

rotation ... اتجاه البيد

skinID ... آيدي الشخصية الى تبيها مع السباون

interior ... ذا حق الآماكن

dimension ... عالم وهمي

Team ... اسم الفريق الى تريده يوم يسوي سباون يصير فيه

اذا تبي فقط سباون

spawnPlayer ( player ,  x,  y,  z ) 

+1

8)8)

Link to comment
spawnPlayer ( player ,  x,  y,  z, rotation, skinID ,  interior , dimension , Team ) 

x , y, z, .. الاحداثيات حق السباون

rotation ... اتجاه البيد

skinID ... آيدي الشخصية الى تبيها مع السباون

interior ... ذا حق الآماكن

dimension ... عالم وهمي

Team ... اسم الفريق الى تريده يوم يسوي سباون يصير فيه

اذا تبي فقط سباون

spawnPlayer ( player ,  x,  y,  z ) 

+1

8)8)

الكود وش فيه .. ؟

bool spawnPlayer ( player thePlayer, float x, float y, float z,) 

إذا قصدك اني ماشلت

bool و float و player

فأنأ متعمد اني مآشلتهم ,

قصدي اني اشيل الأرقمنتات حق التيم و السكن .. ألخ :?

Link to comment
spawnPlayer ( player ,  x,  y,  z, rotation, skinID ,  interior , dimension , Team ) 

x , y, z, .. الاحداثيات حق السباون

rotation ... اتجاه البيد

skinID ... آيدي الشخصية الى تبيها مع السباون

interior ... ذا حق الآماكن

dimension ... عالم وهمي

Team ... اسم الفريق الى تريده يوم يسوي سباون يصير فيه

اذا تبي فقط سباون

spawnPlayer ( player ,  x,  y,  z ) 

+1

الكود وش فيه .. ؟

bool spawnPlayer ( player thePlayer, float x, float y, float z,) 

إذا قصدك اني ماشلت

bool و float و player

فأنأ متعمد اني مآشلتهم ,

قصدي اني اشيل الأرقمنتات حق التيم و السكن .. ألخ :?

ويش فيك تهلوس؟ انا شرحت الارقمنتات بس ... :lol:

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