Jump to content
  • 0

Salut ,Sunt nou in scripting si as vrea sa ma ajutati sa rezolv un warning


Question

Posted

Salut, am facut o comanda /bonus si primesc un warning,nu stiu din ce cauza poate ma puteti ajuta.Las warning-ul mai jos.MULTUMESC ANTICIPAT!

 

C:\Users\Alexxx\Desktop\for sa-mp.ro\gamemodes\DarkNight.pwn(18138) : warning 202: number of arguments does not match definition

 

bandicam 2021-07-27 13-31-08-862.jpg

3 answers to this question

Recommended Posts

  • 0
Posted

Cauti in gm tau functia GivePlayerCash si vezi cati si ce parametri ai si revi la comanda ta si corectezi linia 18138 adaugand/stergand parametri respectivi

  • 0
Posted (edited)

Si vezi ca ai facut comanda cu zcmd si vad mai jos ca tu ai y_commands.
Modifica CMD:bonus(playerid, params[]) in YCMD:bonus(playerid, params[], help)

Cat despre GivePlayerCash, cred ca stiu ce GM ai si trebuie sa pui GivePlayerCash(playerid, 1, 10000000); (1 insemnand ca ii adauga bani, daca era 0 ii scotea din bani)  Dar verifica totusi functia ca sa fi sigur.

Edited by Akan

Discord:
! Akan !#6675

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.