SA-MP Forums Archive
[HELP]Warnings - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]Warnings (/showthread.php?tid=649250)



[HELP]Warnings - Dwlic - 05.02.2018

CMR.pwn(19149) : warning 202: number of arguments does not match definition
CMR.pwn(22785) : warning 203: symbol is never used: "bancoa"
CMR.pwn(39057) : warning 203: symbol is never used: "AreaCaca"


Line (19149) dini_FloatSet(file,"CasaY",Float:8987,2382);

Line (22785) new bancoa,Float,Float:y,Float:z;

Line (22785) This code does not exist and is giving this error


Re: [HELP]Warnings - jasperschellekens - 05.02.2018

Show your code without code we can't do anything.
And the last 2 errors:
remove new bancoa and new areacaca


Re: [HELP]Warnings - Dwlic - 05.02.2018

I put it on


Re: [HELP]Warnings - RogueDrifter - 05.02.2018

Код:
Line (19149) dini_FloatSet(file,"CasaY",Float:8987,2382);
no need to actually put 'Float:' so remove that
Код:
Line (22785) new bancoa,Float,Float:y,Float:z;
you're not using 'bancoa' so remove that simple as is
Код:
Line (22785) This code does not exist and is giving this error
that's normal and simply saying that 'AreaCaca' is not being used so do ctrl+F to find the definition of AreaCaca and remove it again as simple as that.


Re: [HELP]Warnings - Dwlic - 05.02.2018

I did everything but continued the same way


Re: [HELP]Warnings - Dwlic - 05.02.2018

If I put the gamemode here could you correct it for me?


Re: [HELP]Warnings - Inn0cent - 05.02.2018

Код:
dini_FloatSet(file,"CasaY",Float:8987,2382);
Remove that Float: thing first and I am sure it also requires "z" co-ordinate while you are just giving 2, X and Y.

Код:
warning 203: symbol is never used: "bancoa"
This means you have declared a variable "bancoa" but you are not using it, just remove it from the script.

Haven't used the Dini ever. But be sure to remove that Float: thing.

EDIT: Maybe you can only give 1 value to FloatSet. Since its "CasaY" Y co-ordinate, give it only y coordinates. Like

Код:
dini_FloatSet(file,"CasaY",YourValueHere);