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

  • 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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