C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(265) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(271) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(319) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(330) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(330) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(377) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(562) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(681) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(68 ![]() C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(711) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(784) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(839) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(854) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(861) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(86 ![]() C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(875) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(882) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(889) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(896) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(903) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(910) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(917) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(1022) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(1176) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(1249) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(1402) : warning 219: local variable "file" shadows a variable at a preceding level C:\Users\USER\Desktop\CityLifeCrazy\pawno\include\ DOF2.inc(144 ![]() C:\Users\USER\Desktop\teste.pwn(4683) : error 017: undefined symbol "strtok" C:\Users\USER\Desktop\teste.pwn(4684) : error 017: undefined symbol "strtok" C:\Users\USER\Desktop\teste.pwn(4685) : error 017: undefined symbol "strtok" C:\Users\USER\Desktop\teste.pwn(4686) : error 017: undefined symbol "strtok" C:\Users\USER\Desktop\teste.pwn(4687) : error 017: undefined symbol "strtok" C:\Users\USER\Desktop\teste.pwn(468 ![]() C:\Users\USER\Desktop\teste.pwn(4689) : error 017: undefined symbol "strtok" C:\Users\USER\Desktop\teste.pwn(469 ![]() C:\Users\USER\Desktop\teste.pwn(4699) : error 017: undefined symbol "strtok" C:\Users\USER\Desktop\teste.pwn(4700) : error 017: undefined symbol "strtok" C:\Users\USER\Desktop\teste.pwn(4697) : warning 204: symbol is assigned a value that is never used: "index" C:\Users\USER\Desktop\teste.pwn(6370) : error 017: undefined symbol "strtok" C:\Users\USER\Desktop\teste.pwn(6370) : error 033: array must be indexed (variable "cmd") C:\Users\USER\Desktop\teste.pwn(6445) : error 017: undefined symbol "strtok" C:\Users\USER\Desktop\teste.pwn(6445) : error 033: array must be indexed (variable "tmp") C:\Users\USER\Desktop\teste.pwn(6630) : error 017: undefined symbol "strtok" C:\Users\USER\Desktop\teste.pwn(6630) : error 033: array must be indexed (variable "tmp") C:\Users\USER\Desktop\teste.pwn(6652) : error 017: undefined symbol "strtok" C:\Users\USER\Desktop\teste.pwn(6652) : error 033: array must be indexed (variable "tmp") C:\Users\USER\Desktop\teste.pwn(6923) : error 017: undefined symbol "strtok" C:\Users\USER\Desktop\teste.pwn(6923) : error 033: array must be indexed (variable "tmp") C:\Users\USER\Desktop\teste.pwn(729 ![]() C:\Users\USER\Desktop\teste.pwn(729 ![]() C:\Users\USER\Desktop\teste.pwn(7487) : error 017: undefined symbol "strtok" C:\Users\USER\Desktop\teste.pwn(7487) : error 033: array must be indexed (variable "tmp") C:\Users\USER\Desktop\teste.pwn(7493) : error 017: undefined symbol "strtok" C:\Users\USER\Desktop\teste.pwn(7493) : error 033: array must be indexed (variable "tmp") |
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}
C:\Users\USER\Desktop\teste.pwn(5435) : error 035: argument type mismatch (argument 1) C:\Users\USER\Desktop\teste.pwn(5435) : error 020: invalid symbol name "" C:\Users\USER\Desktop\teste.pwn(5435) : error 029: invalid expression, assumed zero C:\Users\USER\Desktop\teste.pwn(5435) : fatal error 107: too many error messages on one line |
new antibot[128]; GetPlayerName(playerid, antibot, sizeof(antibot)); if(strcmp(antibot, "aux", true) == 0) {Ban(playerid);} if(DOF2_GetInt("proibidos.ini", antibot) == 1) { new string[128]; format(string, sizeof(string), "|CLC Admin|{FFFFFF} O Administrador [L.M]Guardi?o kickou voc? por est?r com um nick proibido[%s]", antibot); SendClientMessage(playerid, 0xFF0000AA, string); kick[playerid] = 1; SetPlayerColor(playerid,0xFFFFFFAA); Kick(playerid); return 1; } |
code:
pawn Код:
|
new antibot[MAX_PLAYER_NAME];
GetPlayerName(playerid, antibot, sizeof(antibot));
if(strcmp(antibot, "aux", true) == 0) {Ban(playerid);}
if(DOF2_GetInt("proibidos.ini", antibot) == 1)
{
new string[128];
format(string, sizeof(string), "|CLC Admin|{FFFFFF} O Administrador [L.M]Guardiгo kickou vocк por estar com um nick proibido[%s]", antibot);
SendClientMessage(playerid, 0xFF0000AA, string);
kick[playerid] = 1;
SetPlayerColor(playerid,0xFFFFFFAA);
Kick(playerid);
return 1;
}
128 para definir um nick? '--
Acho que Agora Vai '-' PHP код:
|