function cam () 
 setCameraMatrix(214.28958129883+math.random(1,5), 1865.3023681641+math.random(5,9), 13.140625, 180, 285, 0, 0) 
 ped = createPed (0, 210.10000610352, 1874.1999511719, 13.10000038147 ) 
 setPedAnimation( ped, "ped", "WOMAN_walknorm") 
end 
addEventHandler ("onClientResourceStart",resourceRoot,cam) 
  
  
addEventHandler("onClientRender", getRootElement(), 
function() 
    local x, y, z = getElementPosition(ped) 
    local x2, y2, z2 = getElementPosition(localPlayer) 
    if(isLineOfSightClear(x, y, z, x2, y2, z2, true, true, false, true)) then 
     local sx, sy = getScreenFromWorldPosition(x, y, z+1.3) 
     if(sx) and (sy) then 
      local distance = getDistanceBetweenPoints3D(x, y, z, x2, y2, z2) 
      if(distance < 30) then 
       dxDrawText("اهلا و سهلا", sx+2, sy+2, sx, sy, tocolor(0,0,0), 6.3-(distance/20), "arial", "center", "center") 
       dxDrawText("اهلا و سهلا", sx, sy, sx, sy, tocolor(255,255,255), 6-(distance/20), "arial", "center", "center") 
   end 
  end 
 end 
end) 
 
اخطائك 
setCameraMatrix : حاط ارقمنت الاعب الخاص بالسيرفر - يعني لاتحط الارقمنت بالكلنت 
createPed : نسيت ان تضع ارقمنت رقم الشخصية 
addEventHandler :  
1 - لتجعله بالكلنت onClientResourceStart وهو خاص بالسيرفر ضع onResourceStart حاط اسم الافنت 
2 - لتجعله اذا اشتغل المود الحالي resourceRoot يعني اي مود يشتغل يسوي شخصية جديدة - حطroot حاط