Jump to content
  • 0

Ajutor


Gireada

Question

Am si eu nevoie de ajutor am warningul acesta [pawn](13341) : warning 202: number of arguments does not match definition[/pawn]

Si liniile

13339 format(string,sizeof(string),"%d,%d,%d",dd,mm,yy);

13340 new File:hFile = fopen("BanTemporar.ini", io_write);

13341 fwrite(hFile, playername, var);

13342                                              fclose(hFile);

Kick(playeri);

13343

Daca ma poate ajuta cineva cu problema aceasta

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

1.Schimba titlul si citeste regulamentul.

2.[pawn]Kick(playeri);[/pawn]

Nu exista asa ceva.

[pawn]Kick(playerid);[/pawn]

Asa e bine.

In general da eroarea aia cand nu sunt coordonatele bune, acum nu stiu, chiar as vrea sa aflu.

Daca ai vazut el nu are probleme la linia aia xD. Poate foloseste ceva de genu:

new playeri;

if ( sscanf( params, "u", playeri ) ) return ... //Exemplu pentru sscanf....

Uite:

http://wiki.sa-mp.com/wiki/Fwrite - Nu ai toti parametrii la Fwrite la linia ta...

Fara reclama in semnatura!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.