Jump to content

Help


Ilidan

Recommended Posts

Posted

Hi ta all :)

so i need help,with scripts,i know that all of them i must make myself,but i am noob in it,becouse i was learning how to create them in mta wiki but no progress,i was trying to make simple scripts for two weeks day by day,i even didn't go to gym,an d i know that profesionals can do it in a minute,so maybe someone could just sent them to me,becouse in map editor i have much expierence and i created real cool map,there is some screens http://img220.imageshack.us/i/gtasa2010 ... 30395.png/

(u should see all things in game becouse it dificul to make good screens of my bases,some textures disapear fro far points when i make screens) so the server point is z-day and i need simple script that gives money for kiling zombies (or resource)

i found same topic but as always i maded shity svript and i do not work,map is cool,a lot of baricades,bases all in gta world,but zombies do not give money so no point of kiling them,maybe someone can help,i would be very happy :) thanks :)

Good man will be good even without nothing ; bad man still will want everything even he have everything already ; so,in which side you are ? :)

Posted

https://forum.multitheftauto.com/viewtop ... es#p305949

this will work for sure..

create new file, name it like: zombie_cash.lua

put that code from above link into that file

add it to meta xml

at the end (just before :

and restart zombie resource

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)!

Posted

i dont know what i maded wrong here is my script meta.xml

and here is zombie_cash.lua

1.

addEventHandler( "onZombieWasted", getRootElement(),

2.

function( killer )

3.

givePlayerMoney( killer, 100 );

4.

end

5.

)

what is wrong ? :/

Good man will be good even without nothing ; bad man still will want everything even he have everything already ; so,in which side you are ? :)

Posted

i fixed it,i just writed in one place one line ,i even didnt needed whole new resource to get money for kills,... :D

Good man will be good even without nothing ; bad man still will want everything even he have everything already ; so,in which side you are ? :)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...