Jump to content
  • 1

CreatePlayerProgressBar (warning) - Ajutor scripting


Question

Posted

salut!

Am creat bara pentru progress bar (level/rp) si primesc un warning..


 

Quote

 

C:\Users\acer\Desktop\Gamemode\gamemodes\GM.pwn(26649) : warning 202: number of arguments does not match definition

LevelBar = CreatePlayerProgressBar(playerid, 22.000000, 436.000000, 112.500000, 8.500000, -141, 100.000000, 0);

 

 

Cum il pot rezolva? 

2 answers to this question

Recommended Posts

  • 1
Posted (edited)

verifica parametrii functiei si vezi ce iti lipseste sau ce ai adaugat in plus

Edited by Sancky
  • 0
Posted (edited)
On 2/15/2023 at 10:04 AM, cstephan said:

salut!

Am creat bara pentru progress bar (level/rp) si primesc un warning..


 

 

Cum il pot rezolva? 

LevelBar = CreatePlayerProgressBar(playerid, 22.000000, 436.000000, 112.500000, 8.500000, -141, 100.000000);

Functia are 7 parametri iar tu ai folosit un al 8-lea, care nu face parte din definiție: adică acel 0.

Referință: CreatePlayerProgressBar(playerid, Float:x, Float:y, Float:width, Float:height, color, Float:progress, style);

 


 

Edited by R X S
  • Like 1

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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.