warning 202: number of arguments does not match definition
#1

Код:
warning 202: number of arguments does not match definition
I'm getting this on
PHP код:
if(dini_Int(file"Skуra""Biała")) 
what's wrong?
Reply
#2

Код:
if(dini_Int(file, "Skуra", "Biała"));
you forgot the ";"
maybe... not so sure...
Reply
#3

PHP код:
if 
cannot be with ";". Look at any script and see if it's here.
Reply
#4

First bug: dini_Int and if doesn't work.

Btw, here is the explanation, sorry for my shit English:

The problem is that you did if(dini_Int(file, "Skуra", "Biała")), but you never ended with something..

Good way: if (gTeam[playerid] == TEAM_GROVE). That means that if gTeam[playerid] is the same as TEAM_GROVE, it will continue..

So, if I should explain your 'line', it will be this: if dini_Int is the same as ...... nothing.. You forgot what it should be :P


Second bug: It's dini_Int(filename[],key[]).. You have 3 values..
Reply
#5

i would get that error if i had an extra value in a line. So maybe you have to add/take out something.
Reply
#6

So how can i check if in player file is line like
Код:
Skуra = Biała
Код:
   1. This forum requires that you wait 120 seconds between posts. Please try again in 88 seconds.
A'ight listen mo'fucker! Do not occur anymore, bcos ima burn your house
Reply
#7

pawn Код:
if(strcmp(dini_Get(file, "Skуra"), "Biała", true) == 0)
Reply
#8

thanks
8characterslong
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)