if anyone is looking for my script or scoobys( i think i may have this still) if you email me i can help you but be patient as i could take a while to reply my email is [email protected]
i think i still have this script a bit of a long reply but i never check this anymore if you email me i think i have mine and scoobys somewhere my email is [email protected]
there is a way to update a ini, you have to loop through the ini and as you loop you will write it again, but when you find the player thats quiting or changing team, then when you have tell the loop to ignore him and continue something like if ( the var used for the loop == the player thats quitting ) then you need to add 1 to your var and dont let it copy the name to the new ini lol think this is the complicated way scooby will know a easier one haha
if this it going to be in the prs script just have this
if ($3 == !bannan) {
elseif ($4 == $null ) mta.pm $1 $2 Error: Please specify a name, !bannan <name>
else
mta.text $1 $mta.nick($1,%a) has been bannaned by $mta.nick($1,$2)
}
save it all to a ini file ???
like 2 ini's 1 called
teamdetails.ini
[red]
1st = blah
2nd = blah
3rd = blah
Players = ammount
[blue]
1st = blah
2nd = blah
3rd = blah
Players = ammount
and then call the other one
teamplayers.ini
[redplayers]
1 = bob
2 = jim
3 = sam
4 = player 4
[blueplayers]
1 = bob
2 = jim
3 = sam
4 = player 4
then simply loop through all the numbers under the blue set of players and the red set of players to return all the players in that team
im just saying i tried to add a new column and when i did restart the gamemode it didnt do it so i had to ither make a compleatly different named table or deleate the table and create it again or add the column with the db browser, cause when you upload a script to the community then people expect it to work out the box and when you update it and say add another coloumn to the db people arnt going to have a clue how to add a new coloumn well some people anyway.
when i allways need to store a lot i first make the script save things to xml, for a couple of reasons, you cannot add a new colomn to the sql without compleatly creating the table again or editing the one you got in a browser, and in xml you can see things easier without opening the db file once you done make a convertor to copy all your cars and prices to sql by looping throught the xml if you need any help with a convertor when you made the script gimme a message on here and i will give you my msn.
i think i have 1.1.3 somewhere think this is it but give it a try cause a dont think a got round to releasing 1.1.3 so there might be some bugs init
[attachment=0]slr-v-1.1.3.rar[/attachment]
your script brings back many memories to me when a used to annoy u on msn to learn how to script then i made my own and mine and yours are the only 2 good ones out there avaliable to the public still even tho mta race is dead a think
/me good times
dont see u online right much now scooby where are u hiding lol