B!ERPuNK Posted May 19, 2010 Share Posted May 19, 2010 P-Spawn is a small script that does the following things: + Spawns players when they join + Give them weapon and ammo when they join + Give them money when they join + Respawns players when they die + Give respawned players weapon and ammo + Take money from the player when they die + Give money to the player when they kill someone A lot of things can be changed in variables with a lot of comments in the script.lua file. For example: + Change the amounts of money players get and lose + Change the spawn coördinates + Change the player skin + Change the weapons players get This script is supposed to stay small like this, but i might be willing to add some features to it. Please place a reaction if you want something added. Also, i did not test this script with more then 1 player, so if there are any bugs, please tell me and i will (try to) fix them. https://community.multitheftauto.com/index.php?p= ... ils&id=756 Link to comment
rikimaru263 Posted May 23, 2010 Share Posted May 23, 2010 can you add a function in were you can create teams so i can use this on mta first war server. if you do this i will make you admin. Link to comment
Simulate Posted May 23, 2010 Share Posted May 23, 2010 Yeah that would be nice can u make that :3 Link to comment
Castillo Posted May 25, 2010 Share Posted May 25, 2010 can you add a function in were you can create teams so i can use this on mta first war server. if you do this i will make you admin. giving admin to people u dont know is the most stupid thing u can do, i dont understand why all offers that . why just dont try to script yourself somthing? Link to comment
rikimaru263 Posted May 25, 2010 Share Posted May 25, 2010 I dont understand scripting and it dont matter who i give admin cause i host my self and i can take anyone off the acl if the dissobey the admin rules. Link to comment
robhol Posted May 25, 2010 Share Posted May 25, 2010 But with strict rules, what's the point of offering admin as a "payment" (which is bull) then? That's like saying, "If you do this, I'll give you this car, but you can only take it to the store, and you have to push it," Link to comment
rikimaru263 Posted May 26, 2010 Share Posted May 26, 2010 lol. im not seting any rules for them. just incase they try to take over my server. it would make the script better 2 so he asked for sugestions and i gavve him one. Link to comment
Castillo Posted May 26, 2010 Share Posted May 26, 2010 lol. im not seting any rules for them. just incase they try to take over my server. it would make the script better 2 so he asked for sugestions and i gavve him one. I still thinking admin isnt a reason to script for someone, being a friend maybe will be a better reason Link to comment
rikimaru263 Posted May 26, 2010 Share Posted May 26, 2010 yea. i understand. my problem is that i am working on mta first war server and there isnt much to work with in community. my server makes no money cause its currently down till i get a team spawn script. Link to comment
Cavorta Posted September 16, 2010 Share Posted September 16, 2010 Community closed. Change link? Link to comment
Fabio(GNR) Posted September 18, 2010 Share Posted September 18, 2010 Uhm when i try to start it in server it says WARNING: Loading script failed: p-spawn\script.lua:1: unexpected symbol near 'ï' Help me please!! Link to comment
dzek (varez) Posted September 18, 2010 Share Posted September 18, 2010 did you edit it? or author posted a resource with syntax error ? Link to comment
Fabio(GNR) Posted September 19, 2010 Share Posted September 19, 2010 (edited) did you edit it? or author posted a resource with syntax error ? First i edited it, to my new coordinates but original doesnt work either, but know i notice this only works without play but i kinda need it for play/freeroam any way to get it work? EDIT: It did work with original, without play mode i'll try editing coordinates now to see if it will work.... Edited September 19, 2010 by Guest Link to comment
dzek (varez) Posted September 19, 2010 Share Posted September 19, 2010 it's some kind of "replacement" for play. play is only spawning, nothing more. freeroam is that gui thing. so start this, and freeroam. Link to comment
Fabio(GNR) Posted September 19, 2010 Share Posted September 19, 2010 Ok thanks but i'll try changing them now thanks! Link to comment
Fabio(GNR) Posted September 19, 2010 Share Posted September 19, 2010 Yes, when i edit it says unexpected symbol near ''something weird '' in log it says: [2010-09-19 10:31:12] Resource 'p-spawn' changed, reloading and starting [2010-09-19 10:31:12] Starting p-spawn [2010-09-19 10:31:12] SCRIPT ERROR: p-spawn\script.lua:1: unexpected symbol near 'ï' [2010-09-19 10:31:12] WARNING: Loading script failed: p-spawn\script.lua:1: unexpected symbol near 'ï' [2010-09-19 10:31:12] start: Resource 'p-spawn' started if i try to join then, its at mountain chilliad and i only see clouds like other people Link to comment
dzek (varez) Posted September 19, 2010 Share Posted September 19, 2010 Just download the newest version - i just checked it - and it doesnt have any syntax errors. Nor "ï" symbol inside. Link to comment
Fabio(GNR) Posted September 19, 2010 Share Posted September 19, 2010 Just download the newest version - i just checked it - and it doesnt have any syntax errors. Nor "ï" symbol inside. Thats weird, can it be caused by any other scripts? But i'll try Nope still doesn't work, i think its an other resource i run.... Should i unzip it? By the way, the server itself said something different than that I it was like a mini-/ EDIT downloaded newest again, so it spawns me on the regular place but when i edit it it gives that symbol error Link to comment
dzek (varez) Posted September 19, 2010 Share Posted September 19, 2010 edit with something better than notepad - which problably is causing problems with file encoding. notepad++ for example Link to comment
Fabio(GNR) Posted September 19, 2010 Share Posted September 19, 2010 edit with something better than notepad - which problably is causing problems with file encoding.notepad++ for example Thanks ill try that Link to comment
Fabio(GNR) Posted September 19, 2010 Share Posted September 19, 2010 YEAH it worked thanks varez Link to comment
Fabio(GNR) Posted September 20, 2010 Share Posted September 20, 2010 Sorry for triple post, but one more question if you die yuo get the teleport map were you would like to spawn, but i want to disable that so people spawn at my assigned place, they do but then the menu still pops up ty Link to comment
eAi Posted September 20, 2010 Share Posted September 20, 2010 To avoid triple posting, you can use the edit button. Link to comment
dzek (varez) Posted September 20, 2010 Share Posted September 20, 2010 open admin panel, go to resources tab, select freeroam, then configure. there will be option to disable this map to pop up every death Link to comment
Fabio(GNR) Posted September 20, 2010 Share Posted September 20, 2010 open admin panel, go to resources tab, select freeroam, then configure. there will be option to disable this map to pop up every death Thanks again Ok sorry for triple 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