Jump to content

Noob Questions


Perfect

Recommended Posts

1.) how to make a button like f9 ?

2.) what is a different between client side and server side ?

3.) how to disallowed Hax Example :- #FFFFFFhi Hello world ?

4.) We can make a skin , vehicle or weapons in mta if yes then how ?

5.) how to make a country means if you press tab then got players country and map ?

6.) how to make a suddenly brake if you press x then your vehicle suddenly stop ?

7.) how to set player skin on in spawn and how to set spawn point ?

8.) how to make spawn kill disable ?

That's are noob questions pls not tell I not have brain i have brain but i am new in mta and i don't know some functions i know wiki but i can't find that functions

and i also know my english too bad it is hard to understand but pls understand and try to help me :(

Link to comment

1) What?

2) Client side is the script that the player will download

and

Server side is the script that will be just in the server's folder

3) You have to script yourself

4) Yes you can , by editing the .dff and the .txd

'5) Country Tab , in the public resources

6)

function onresourceStart () 
  bindKey ("F7", "down", suddenlyStop) 
end 
addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onresourceStart) 
  
function suddenlyStop(theplayer) 
    local vehicle = getPedOccupiedVehicle(thePlayer) 
    if (not vehicle) then return end 
    local speedx, speedy, speedz = getElementVelocity ( vehicle ) 
    setElementVelocity ( vehicle , 0 , 0 , 0 ) 
  end 
end 

Im new too in script , so i dont know if this works

I hope i helped you ...

Link to comment

GanJaRuleZ Said

function onresourceStart () 
  bindKey ("F7", "down", suddenlyStop) 
end 
addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onresourceStart) 
  
function suddenlyStop(theplayer) 
    local vehicle = getPedOccupiedVehicle(thePlayer) 
    if (not vehicle) then return end 
    local speedx, speedy, speedz = getElementVelocity ( vehicle ) 
    setElementVelocity ( vehicle , 0 , 0 , 0 ) 
  end 
end 

Where i put that codes ?

and now also i don't know what is Client side and server side means how to download scripts from Client ?

Link to comment
2)Downloading client scripts is automatic, depends on which handler you assign on them.

Sorry i can't Understand that because my English is too bad . can you tell that in easy english pls

and how to make a script i mean i make script but script is not working

i got Error see this

ERROR: Couldn't parse meta file for resource 'WelcomeMassage'

How to fixed That ?

Link to comment

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