B!ERPuNK Posted May 19, 2010 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 Total freedom, no exceptions!
rikimaru263 Posted May 23, 2010 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.
Castillo Posted May 25, 2010 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? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
rikimaru263 Posted May 25, 2010 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.
robhol Posted May 25, 2010 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," Do NOT PM ME for help unless invited. - New MTA Script Editor Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.
rikimaru263 Posted May 26, 2010 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.
Castillo Posted May 26, 2010 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 San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
rikimaru263 Posted May 26, 2010 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.
Cavorta Posted September 16, 2010 Posted September 16, 2010 Community closed. Change link? www.MIXED-MTA.com Mixed RolePlay: %80
Fabio(GNR) Posted September 18, 2010 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!! LuaCompiler United Social Gamers [ CnR / DD / DM & more ]
dzek (varez) Posted September 18, 2010 Posted September 18, 2010 did you edit it? or author posted a resource with syntax error ? Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Fabio(GNR) Posted September 19, 2010 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 LuaCompiler United Social Gamers [ CnR / DD / DM & more ]
dzek (varez) Posted September 19, 2010 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. Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Fabio(GNR) Posted September 19, 2010 Posted September 19, 2010 Ok thanks but i'll try changing them now thanks! LuaCompiler United Social Gamers [ CnR / DD / DM & more ]
Fabio(GNR) Posted September 19, 2010 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 LuaCompiler United Social Gamers [ CnR / DD / DM & more ]
dzek (varez) Posted September 19, 2010 Posted September 19, 2010 Just download the newest version - i just checked it - and it doesnt have any syntax errors. Nor "ï" symbol inside. Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Fabio(GNR) Posted September 19, 2010 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 LuaCompiler United Social Gamers [ CnR / DD / DM & more ]
dzek (varez) Posted September 19, 2010 Posted September 19, 2010 edit with something better than notepad - which problably is causing problems with file encoding. notepad++ for example Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Fabio(GNR) Posted September 19, 2010 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 LuaCompiler United Social Gamers [ CnR / DD / DM & more ]
Fabio(GNR) Posted September 19, 2010 Posted September 19, 2010 YEAH it worked thanks varez LuaCompiler United Social Gamers [ CnR / DD / DM & more ]
Fabio(GNR) Posted September 20, 2010 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 LuaCompiler United Social Gamers [ CnR / DD / DM & more ]
eAi Posted September 20, 2010 Posted September 20, 2010 To avoid triple posting, you can use the edit button.
dzek (varez) Posted September 20, 2010 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 Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Fabio(GNR) Posted September 20, 2010 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 LuaCompiler United Social Gamers [ CnR / DD / DM & more ]
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