PDA

View Full Version : [HELP]Warnings


Dwlic
05/02/2018, 04:34 PM
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:x,Float:y,Float:z;

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

jasperschellekens
05/02/2018, 04:37 PM
Show your code without code we can't do anything.
And the last 2 errors:
remove new bancoa and new areacaca

Dwlic
05/02/2018, 04:47 PM
I put it on

RogueDrifter
05/02/2018, 04:51 PM
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.

Dwlic
05/02/2018, 05:09 PM
I did everything but continued the same way

Dwlic
05/02/2018, 05:12 PM
If I put the gamemode here could you correct it for me?

Inn0cent
05/02/2018, 05:31 PM
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);