Jump to content

help or whatever


Recommended Posts

are you sure you was scripting for 3 years or it was just a dream? after coding in ANY language you shouldn't ask so weird, uncomplete questions o.O

- create a gui with some confirm button/whatever and hide it / GUI functions

- create a marker / createMarker

- attach an onMarkerHit event to it / addEventHandler

- on handler function show you gui / guiSetVisible but you will need showCursor too

- attach an onClientGUIClick to some confirm button / addEventHandler

- create custom event on serverside / addEvent and addEventHandler

- trigger server event with your car as argument / triggerServerEvent

- hide gui / guiSetVisible but you will need showCursor too

- remove car and give player money on serverside / destroyElement and givePlayerMoney

Link to comment

i don't send the code but i can tell u what i do

step 1 create gui whit buttons

step 2 when he hit shopmarker opengui (onMakerHit)

step 3 onGuiClick sellcar blabla

step 4 yes/no if yes then

step 5 if he click then give money and setAccountdata vehicle emty

step 5 works 90% he only dont set vehicle emty

Link to comment
i don't send the code but i can tell u what i do

Omfg .__.

-.-

Man .. if you dont send the code/script peoples like varez,SolidSnake,50p or anyone can't help YOU!.

Why?

Because, they don't have the script what you made, and, they can't see what you did wrong... :?

The peoples aren't here to steal your script... the peoples are here for help You.. with your questions, script's, etc!

But... if you won't give that... Is your problem :S

I recommend to post that here to fix it.. but... that's your... Do whatever you want...

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