Comments (6)
I will make the bank system and incorporate it in the script when I have time.
from gta-rp.
I think you should use the Checkpoint class to do it by creating a new checkpoint like this:
Checkpoint checkpoint = new Checkpoint(new Vector3(xPos, yPos, zPos), this.CharacterEnteredSpot, this.CharacterExitedSpot, 1, 2.0f, 66, 179, 244);
Now you create the methods this.CharacterEnteredSpot and this.CharacterExitedSpot like this
public void CharacterEnteredSpot(Checkpoint spot, Character character)
{
character.TriggerEvent("EVENT_ENTERED_ATM_SPOT");
}
You can find example for Checkpoint in FishingZone.cs
Now when player clicks the withdraw then you need to send an event to the server with the money amount. Look at the EventHandler.cs for that.
from gta-rp.
Thanks for your Help ATMs + Banksystem Done and everything is working included Database Save
BTW: Thanks for this Script its pretty nice and easy to understand. Good Job
from gta-rp.
hi there ! first much thanks for that script @Samppaa we are playing it in our small community so we are still searching for new updates ,. my question to @RoxiiCz is it possible to share the "atm & banksystem"
we re looking for every stuff that work with this scripts for better roleplay on our server
*have a nice day
from gta-rp.
Its hard to share because i've implemented all Functions to the existing Scripts
from gta-rp.
ah ok i understand .. thx :) gl hf with your project m8
from gta-rp.
Related Issues (20)
- Errorq HOT 1
- No Login screen?
- Cant Login HOT 3
- Gamemode is not loading HOT 3
- Database Errors HOT 3
- Cant Login HOT 3
- /duty didn´t work HOT 1
- Login Form HOT 2
- [Script / Characters] Some other issues
- I need Help! | Ich brauche Hilfe! HOT 1
- Gamemod Problems / Gamemod Probleme
- Error MySql DateBase HOT 2
- [HELP] Coordinates of Checkpoints
- Problem with second login HOT 2
- Login bug... :( please help
- Error when starting GT:MP Server HOT 8
- I did all the step, but I have a big issue
- Error in Type or namespace HOT 1
- Server starts but no login page or content is displayed in the game HOT 1
- Issue in deploy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gta-rp.