#I need help completing this system

62 messages ยท Page 1 of 1 (latest)

shadow gull
#

My recommendation to have a well-structured and optimal code is the following

#
new ttmp;
if((!sscanf(params, "d", ttmp))
{
   If(ttmp > 0 && tmp <= 100)
   {
        Fuel[vehicleid] = ttmp;
       SendClientMessage(playerid,  -1, "You have filled the gas tank correctly with the requested amount");
    }
    else
    {
       SendClientMessage(playerid, -1, "Enter a number between 1 and 100");
    }
}
else
{
    SendClientMessage(playerid, -1, "Enter the quantity. Example: /fuel [quantity]");
}```
#

Assuming you are using sscanf2. It is also recommended that you use zcmd or derivatives so that the parameters are captured more easily.

torn shuttle
shadow gull
#

Have they already helped you?

torn shuttle
# shadow gull Have they already helped you?

Help me, but I need someone to complete the system because I am not very familiar with Pawno. I know I will annoy you, but this will make me very happy and happy with your good service.

#

@shadow gull
Can I send you the system file to organize it on modern systems instead of me? I will be very thankful to you

shadow gull
#

If it's not too much, pass it on to me and I'll be happy to do it for you.

#

Is it just that command?

#

@torn shuttle

torn shuttle
#

I was not able to figure out how to fix it and how to run it on a recent installation

#

@shadow gull

shadow gull
#

Ok, I'll tell you how that goes in a bit.

torn shuttle
shadow gull
#

Do you want all those textdraws when the player connects or spawns?

torn shuttle
#

When he moistens the vehicle, it activates with all the compounds, and when he gets out of the vehicle, they disappear

#

@shadow gull

shadow gull
#

There are many, are they all for vehicles?

torn shuttle
#

Yes

shadow gull
#

I'm also going to pass them to OnGameModeInit, it will be more optimal and then to show them you use TextDrawShowForPlayer at the indicated time

torn shuttle
#

No problem

#

But everything works

#

Speed, fuel, changing gear from D to P, etc... and the speed tire change system color

shadow gull
#

Yeah, it's just doing it in a better way.

torn shuttle
#

I am waiting for an answer from you regarding the completion of this damned system for me, haha ๐Ÿ˜‚๐Ÿ’™

#

I hope it is in filterscript format because it will make it easier for me to install it. Thank you for helping me ๐Ÿ’™

shadow gull
#

It's going to take a while because there are some things that are messy or bad in terms of optimization, but as soon as it's done I'll pass it on to you, friend.

shadow gull
#

Nono, today you already have it

torn shuttle
torn shuttle
#

Isn't it complete anymore because I'm in a state of reckless enthusiasm ๐Ÿ˜‚@shadow gull

shadow gull
#

I'm working on it bro, don't worry.

torn shuttle
#

Wait until tomorrow

shadow gull
#

hey friend, let me explain. the texdraws better that you change it little by little. There are many, I optimized the rest a little. I don't want to put pressure on you or make you wait, so if you have any questions about the process, just let me know. I recommend that you look at the pawncmd documentation, it is the best plugin for me to create fast and optimal commands

#

strcmp is very slow

#

Everything else is fine. Simply the pawncmd and the textdraws if you can change them to GLOBAL better, if not for each user the gamemode loads the same and it will be chaos

#

If you have any questions tell me

torn shuttle
#

@shadow gull
I don't have any questions, but I'm waiting for the continuation of that system. I don't want to embarrass you or burden you with a lot of fatigue, but just put it to work on the current scripts.

#

Because when I compile, I get a lot of errors

#

This is because it is an old system, I think

#

Or means processors

torn shuttle
shadow gull
#

I'll debug the GM for you, don't worry, but it's up to you to optimize

#

Give me some time, I have other things to do

#

Do you have the textdraws made in a text editor? to convert them to global more easily

torn shuttle
#

I will send you the GM to adjust it for me in terms of system and you will verify it in your field

#

I sent it to you and I hope it will not be delayed

#

I won't be able to send it, but I sent you pwn Maybe it will benefit you with something

#

@shadow gull

shadow gull
#

Is that another gm? xd

dim path
#

what the hell

torn shuttle
#

@shadow gull
Isn't it complete yet?

torn shuttle
#

@shadow gull
What happened

storm rune
#

Stop trying to make people your scripters. And don't take advantage of people's generosity. There are two options.

1). Learn and do it yourself. Invest the time and effort to develop the necessary skills.
2). Hire someone and pay them fairly for their work. Don't expect free labor just because someone is kind.

Trying to manipulate people into becoming unpaid scripters is wrong.

torn shuttle
#

@storm rune

#

There is no problem renting, but from where and which server is best in that programming language

dim path
storm rune
torn shuttle
#

@storm rune @dim path