Jump to content

Nas

Members
  • Posts

    4
  • Joined

  • Last visited

Details

  • Gang
    none

Nas's Achievements

Vic

Vic (3/54)

0

Reputation

  1. hi i create camera matrex and create ped he set ped in world not gui i wanna create GUIEditor.staticimage back the ped with [X, Y] my code function setCameraOnPlayerJoin() fadeCamera(source, true, 5) setCameraMatrix(source, 1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316) createPed ( 120, 5540.6654, 1020.55122, 1240.545 ) end addEventHandler("onPlayerJoin", getRootElement(), setCameraOnPlayerJoin)
  2. السلام عليكم في شرح او سكربت جاهز للـ ID ID للاعب و يكون اذا طلع و دخل يتغير الرقم تلقائي
  3. Nas

    [help] scores script

    Thanks Solidsnake14 he work now can you say to me where a problem ?
  4. hi can anyone help me i have script save [ kills, deaths, Ratio] my problim kills is work and good deaths no work if kill with weapons if kill me with admin panel or [F1 Freeroam] he let me +1 deaths sorry for my english code addEventHandler ( "onPlayerWasted", root, function( totalAmmo, killer, killerWeapon, bodypart, stealth ) if killer then local account = getPlayerAccount ( killer ) if killer ~= source then setAccountData( account,"kills",tonumber( getAccountData( account,"kills" ) or 0 ) +1 ) setElementData( killer, "kills", tonumber( getAccountData( account,"kills" ) ) ) setElementData( killer, "Ratio", tonumber(getElementData( killer, "kills" )/getElementData( source, "Deaths") ) ) end else local accountSource = getPlayerAccount ( source ) setAccountData( accountSource,"Deaths",tonumber( getAccountData(accountSource,"Deaths") or 0 ) +1 ) setElementData( source, "Deaths", tonumber( getAccountData( accountSource,"Deaths" ) ) ) setElementData( source, "Ratio", tonumber(getElementData( killer, "kills" )/getElementData( source, "Deaths") ) ) end end )
×
×
  • Create New...