Name Checker
1 Attachment(s)
Okay, I just scripted this plugin and it will not complie without errors, here is the code and errors. Please help.
Code:
Code:
/home/users/amxmodx/tmp3/phpXzBHPF.sma(78) : error 088: number of arguments does not match definition |
compiles without error, but no warrenty if it works
Code:
#include <amxmodx>write_file does not support fomating ( as you did : write_file(szConfigfile, "^"%s^" ^"%s^"", -1, Arg1, Arg2) ), only file , text, linenum |
Bad indentation, but whatever.
Did you really write this? It looks like you grabbed some code from one of the scripts I wrote. I'm like the only person that ever uses the variable name "szLinestr". Anyways, here: EDIT: Oh, karlos got to it first, oh well. Code:
|
I saw it in some of suicid3's scripts and questioned it... he told me why he wrote like that and im picking it up, i guess :) btw thanks
|
hmmm.... still not working right, it dose not creat the file :?
|
Quote:
|
i have that:
Code:
|
this right here is horrible.
Code:
make a "new szWrite" every iteration of the loop. and makes no sense. (On every line read, if it is a comment of if the line is empty or it is the person say name is already being check. Else make a new line.) So every line it reads that is not the player add the player? Hawk im disappointed in you for not catching that. P.S: Since when are you the only one who codes like that? (Never) |
so if i just do this it sould work?
Code:
|
Code:
|
| All times are GMT -4. The time now is 20:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.