06.05.2014, 17:43
pawn Code:
E:\Game Modes\1v1_DM_Server\filterscripts\hosune.pwn(85) : error 035: argument type mismatch (argument 1)
E:\Game Modes\1v1_DM_Server\filterscripts\hosune.pwn(86) : error 028: invalid subscript (not an array or too many subscripts): "Houseid"
E:\Game Modes\1v1_DM_Server\filterscripts\hosune.pwn(86) : error 017: undefined symbol "d"
E:\Game Modes\1v1_DM_Server\filterscripts\hosune.pwn(86) : error 029: invalid expression, assumed zero
E:\Game Modes\1v1_DM_Server\filterscripts\hosune.pwn(86) : fatal error 107: too many error messages on one line
pawn Code:
stock HPath(Houseid) //Will create a new stock so we can easily use it later to load/save user's data in user's path
{
new str[128];
for(new d,len = strlen(Houseid); d != len; d++)
Houseid[d] = tolower(Houseid[d]);
format(str,sizeof(str),UserPath,Houseid);
return str;
}
pawn Code:
for(new d,len = strlen(Houseid); d != len; d++)
pawn Code:
Houseid[d] = tolower(Houseid[d]);