Jump to content

how can i change into??. here my code


Recommended Posts

Posted

dude!! this is 3rd or something topic about the same problem..

and for 2 scripts you said that it was working, then after 2 days you are creating new topic about that problem, that was fixed..

whats wrong with you?

https://forum.multitheftauto.com/viewtop ... 7&start=15

and sorry, if you dont know how to implement WORKING examples into your scripts, better try to read something

https://wiki.multitheftauto.com/

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

anyway:

1. no need for another topic

2. you don't want to learn anything, am i right? you didnt make anything in lua. we are always doing the job for you.. this forum is for helping, not doing others job. have you ever open wiki.multitheftauto.com? lua editor? try to make anything?

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
ok... yes i tried no i didnt succeed yes i want someone to do it for me :roll:

I guess u want the moon too, learn to script, then if u fail post your code and we will try to help u.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
anyone can hlp me?

this is a kind of example for you :)

localPlayer = getLocalPlayer()
 
function addColumns()
exports.scoreboard:scoreboardAddColumn("Points")
setElementData(localPlayer,"Points",0)
end
addEventHandler("onClientResourceStart",getResourceRootElement(),addColumns)
 
function addPoints()
setElementData(getLocalPlayer(),"Points",tonumber(getElementData(getLocalPlayer(),"Points"))+100)
end
addCommandHandler("add",addPoints)
 
function takePoints()
setElementData(getLocalPlayer(),"Points",tonumber(getElementData(getLocalPlayer(),"Points"))-10)
end
addEventHandler ( "onClientPlayerWasted", getLocalPlayer(), takePoints )

this will give u 100 points if u do /add and will take 10 points if u die.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

now make for him saving that data, and loading, and buying things etcetcetc (i tihnk he will get these ideas soon, so prepare for another topic)

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

Just making a quick note. Wiki. Not Wikipedia.

Wikipedia is a wiki in the form of an encyclopedia. A wiki is not called "a wikipedia" unless it actually is Wikipedia..

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.

Posted
varez please dont jugde people, i got cash save and blabla

but you didnt make it by yourself ;)

if so - there will be no problem to make "points" too

okay, im silent now

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

You could make a label at the side of the screen saying somthing like "points" and make a marker at the end of the race, then do on marker hit and make it so it makes the label "points:1" and then do destroyElement so no one else can get the point.

Posted
You could make a label at the side of the screen saying somthing like "points" and make a marker at the end of the race, then do on marker hit and make it so it makes the label "points:1" and then do destroyElement so no one else can get the point.

why doing so weird way, if theres event after race finish? :/

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

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...