Baseplate Posted March 1, 2013 Author Share 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 Link to comment
Brunoo Posted March 1, 2013 Share Posted March 1, 2013 louled anehi ahsen haja nesta3melha bech nsavi owners mta3 turfs xml ? Link to comment
Sparrow Posted March 2, 2013 Share Posted March 2, 2013 SQLite or MySQL tnajm te5dm bel XML zeda, ama mouch behi Link to comment
Brunoo Posted March 2, 2013 Share Posted March 2, 2013 pfff akther haja nfed menha houma hethom blehi a3tini skype mte3k Link to comment
S4MuEL Posted March 2, 2013 Share Posted March 2, 2013 pffff el scripting wallet tes3ab 3lia ! Link to comment
Sparrow Posted March 3, 2013 Share Posted March 3, 2013 skype: mahrous.sparrow ektb esmk wa9teli tab3th invitation bech na3rfk. Link to comment
Brunoo Posted March 4, 2013 Share 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 Link to comment
Baseplate Posted March 4, 2013 Author Share 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 Link to comment
Brunoo Posted March 4, 2013 Share Posted March 4, 2013 mat5demch or'...'expected near'-' Link to comment
Baseplate Posted March 4, 2013 Author Share Posted March 4, 2013 Okay, thabet mel code marra o5ra badaltou Link to comment
Brunoo Posted March 18, 2013 Share Posted March 18, 2013 famech chkoun 3andou fekra 3al hosting ? mela 7achwa blé paypal fi tounes Link to comment
Vanlot Posted March 19, 2013 Share 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 Link to comment
Brunoo Posted March 19, 2013 Share Posted March 19, 2013 wa7na nchoukou eli eli enti miboun fi termtek Link to comment
Baseplate Posted March 19, 2013 Author Share Posted March 19, 2013 rou7ou naykou saybouna ellila yazebbi. Link to comment
Brunoo Posted April 13, 2013 Share Posted April 13, 2013 hachti bresource hetha ta3mlou mziya t7otou lien mte3ou Link to comment
WASSIm. Posted April 19, 2013 Share Posted April 19, 2013 hachti bresource hetha ta3mlou mziya t7otou lien mte3ou yadhhali script hadha. ismo (Visualiser) tar9ah meloel fi (resources\[gameplay]\Visualiser) Link to comment
Sparrow Posted May 19, 2013 Share Posted May 19, 2013 SRC server released lbera7, we reach 59 players forum: SRC forum ip: mtasa://178.32.239.146:22003 Link to comment
WASSIm. Posted May 19, 2013 Share Posted May 19, 2013 balahi batabdawch ki libiya. fama 7aja ismha new topic : / 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