Baseplate Posted March 1, 2013 Author Posted March 1, 2013 addEventHandler ( "onPlayerWasted", root, function ( ) local account = getPlayerAccount ( source ) if ( account and not isGuestAccount ( account ) ) then for slot = 1, 12 do setAccountData ( account, "save-wep".. slot, getPedWeapon ( source, slot ) ) setAccountData ( account, "save-ammo".. slot, getPedTotalAmmo ( source, slot ) ) end end end ) addEventHandler ( "onPlayerSpawn", root, function ( ) local account = getPlayerAccount ( source ) if ( account and not isGuestAccount ( account ) ) then for slot = 1, 12 do local wep = getAccountData ( account, "save-wep".. slot ) local ammo = getAccountData ( account, "save-ammo".. slot ) giveWeapon ( source, wep, ammo ) end end end ) Zidha fel script mte3ek w na7i line 3+4+9
Brunoo Posted March 1, 2013 Posted March 1, 2013 louled anehi ahsen haja nesta3melha bech nsavi owners mta3 turfs xml ?
Sparrow Posted March 2, 2013 Posted March 2, 2013 SQLite or MySQL tnajm te5dm bel XML zeda, ama mouch behi
Brunoo Posted March 2, 2013 Posted March 2, 2013 pfff akther haja nfed menha houma hethom blehi a3tini skype mte3k
Sparrow Posted March 3, 2013 Posted March 3, 2013 skype: mahrous.sparrow ektb esmk wa9teli tab3th invitation bech na3rfk.
Brunoo Posted March 4, 2013 Posted March 4, 2013 sayé. https://wiki.multitheftauto.com/wiki/OnPlayerSpawn kifeh nesta3mel lparameters fel exemple kol mjoueur yspawni ijih sout function player_Spawn ( posX, posY, posZ, spawnRotation, theTeam, theSkin, theInterior, theDimension ) -- play a frontend sound for him playSoundFrontEnd ( source, 16 ) end -- add the player_Spawn function as a handler for onPlayerSpawn addEventHandler ( "onPlayerSpawn", getRootElement(), player_Spawn ) eni n7ebha ken par ex ken ki yespawni lhné -2655.1,639.46,14.454
Baseplate Posted March 4, 2013 Author Posted March 4, 2013 (edited) function playerSpawn (posX, posY, posZ, spawnRotation, theTeam, theSkin, theInterior, theDimension) if (posX == -2655.1 and posY == 639.46 and posZ == 14.454) then playSoundFrontEnd ( source, 16 ) end addEventHandler("onPlayerSpawn", root, playerSpawn) Edited March 4, 2013 by Guest
Brunoo Posted March 18, 2013 Posted March 18, 2013 famech chkoun 3andou fekra 3al hosting ? mela 7achwa blé paypal fi tounes
Vanlot Posted March 19, 2013 Posted March 19, 2013 famech chkoun 3andou fekra 3al hosting ? mela 7achwa blé paypal fi tounes ansa ken bech thosti sv, daber chrik ajnabi taw ihostilek
Brunoo Posted April 13, 2013 Posted April 13, 2013 hachti bresource hetha ta3mlou mziya t7otou lien mte3ou
WASSIm. Posted April 19, 2013 Posted April 19, 2013 hachti bresource hetha ta3mlou mziya t7otou lien mte3ou yadhhali script hadha. ismo (Visualiser) tar9ah meloel fi (resources\[gameplay]\Visualiser)
Sparrow Posted May 19, 2013 Posted May 19, 2013 SRC server released lbera7, we reach 59 players forum: SRC forum ip: mtasa://178.32.239.146:22003
WASSIm. Posted May 19, 2013 Posted May 19, 2013 balahi batabdawch ki libiya. fama 7aja ismha new topic : /
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