C:\Users\Carlos\Desktop\Server\filterscripts\admin.pwn(48) : warning 213: tag mismatch
C:\Users\Carlos\Desktop\Server\filterscripts\admin.pwn(48) : warning 213: tag mismatch
C:\Users\Carlos\Desktop\Server\filterscripts\admin.pwn(53) : warning 213: tag mismatch
C:\Users\Carlos\Desktop\Server\filterscripts\admin.pwn(54) : warning 213: tag mismatch
C:\Users\Carlos\Desktop\Server\filterscripts\admin.pwn(124) : error 028: invalid subscript (not an array or too many subscripts): "arg0"
C:\Users\Carlos\Desktop\Server\filterscripts\admin.pwn(124) : warning 215: expression has no effect
C:\Users\Carlos\Desktop\Server\filterscripts\admin.pwn(124) : error 001: expected token: ";", but found "]"
C:\Users\Carlos\Desktop\Server\filterscripts\admin.pwn(124) : error 029: invalid expression, assumed zero
C:\Users\Carlos\Desktop\Server\filterscripts\admin.pwn(124) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
function7A8(arg0, arg1[])
{
new var0 = strlen(arg1);
new var1 = 0;
for(var1 = 0; var1 < var0; var1++)
{
arg0[var1] = arg1[var1];
}
arg0[var0] = 0;
return 0;
}
https://sampforum.blast.hk/showthread.php?tid=318212 https://sampwiki.blast.hk/wiki/Scripting_Basics |
pawn Code:
|
function7A8(arg0[], arg1[])
{
new var0 = strlen(arg1);
new var1 = 0;
for(var1 = 0; var1 < var0; var1++)
{
arg0[var1] = arg1[var1];
}
arg0[var0] = 0;
return 0;
}