SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 08/09/2019, 11:08 AM   #11
DarkWorldJack
Big Clucker
 
DarkWorldJack's Avatar
 
Join Date: Dec 2015
Location: Italy
Posts: 50
Reputation: 1
Default Re: Textdraws Safe Money

Quote:
Originally Posted by darkdrago View Post
ITA: Ti ho fatto un esempio, non l'ho testato ma dovrebbe fare il suo lavoro
ENG: I made you an example how it could work, not tested but should do its job
https://paste.ofcode.org/36RK2ufDAq7SwUhYvCVSEwP
ITA:
Ho inserito il codice, ma aumenta di 1 e non aumenta in 'Loop' se continuo a premere, cosa posso risolvere?

ENG:
I entered the code, but increases by 1 and does not increase in 'Loop' if I keep pressing, what can I solve?
DarkWorldJack is offline   Reply With Quote
Old 08/09/2019, 11:29 AM   #12
darkdrago
Huge Clucker
 
darkdrago's Avatar
 
Join Date: Nov 2009
Location: Italy
Posts: 290
Reputation: 38
Default Re: Textdraws Safe Money

ENG: Can you post the whole code so i can take a look at it?
ITA: Puoi postare il codice completo così posso darci un'occhiata?

EDIT
Under every
Code:
if(TimerIncrease[playerid]) KillTimer(TimerIncrease[playerid]);
Add this
Code:
TimerIncrease[playerid] = 0;
And should work fine
I did some tests too:
__________________

Last edited by darkdrago; 08/09/2019 at 12:08 PM.
darkdrago is offline   Reply With Quote
Old 11/09/2019, 02:31 PM   #13
DarkWorldJack
Big Clucker
 
DarkWorldJack's Avatar
 
Join Date: Dec 2015
Location: Italy
Posts: 50
Reputation: 1
Default Re: Textdraws Safe Money

Quote:
Originally Posted by darkdrago View Post
ENG: Can you post the whole code so i can take a look at it?
ITA: Puoi postare il codice completo così posso darci un'occhiata?

EDIT
Under every
Code:
if(TimerIncrease[playerid]) KillTimer(TimerIncrease[playerid]);
Add this
Code:
TimerIncrease[playerid] = 0;
And should work fine
I did some tests too:
ENG:
Excuse me if I haven't put away before, but I was at work ...
Anyway, it works, but what I want is that when you hold down the button you see that it goes fast both to lower the amount of money and the opposite and it is increasing more and more the amount of money that increases ... always keeping the button pressed

ITA:
Scusami se non ho riposto prima, ma ero al lavoro...
Comunque, funziona, ma quello che vorrei è che quando tieni premuto il tasto si vede che va veloce sia per abbassare la quantità di denaro e vice-versa e va aumentando sempre di più la quantità di denaro che aumenta... sempre tenendo premuto il tasto
DarkWorldJack is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Money safe system (rob/save) DarkLight Filterscripts 6 04/07/2017 05:15 AM
Safe money object ID Ahmed21 Scripting Help 4 07/08/2016 10:07 AM
Set object 'money safe' Ercha Scripting Help 2 30/05/2014 03:04 AM
safe money sysem with MySQL ArmyOps Scripting Help 0 27/02/2012 06:29 PM
[FilterScript] yBank V2.0 - a.k.a 'Safe Money Fast' ylleron Filterscripts 7 13/02/2012 02:12 PM


All times are GMT. The time now is 07:06 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.