31.12.2013, 21:11
show us both commands and we may tell you what's wrong with it 
for reference,
there are some things which can cause a "unknown command" even when the command is present in the script:

for reference,
there are some things which can cause a "unknown command" even when the command is present in the script:
Quote:
for example, i got a array which is 5 long, called "string".
the string is filled with "hello" it'll look like this: [H] -> 0 [e] -> 1 [l] -> 2 [l] -> 3 [o] -> 4 [\0] -> 5 (NULL char) but now a loop is trying to do something like this: PHP код:
not sure... //Edit it will cause the error, not maybe Code-example: PHP код:
the chars are printed to the console until '\0' when 'i' moving on to being '6', the error comes in ![]() looping trough something which doesen't exist can cause such things. ![]() it even didn't print the "o" xD just fucked up you could also run that Код:
#include <a_samp> new strxs[5]; main() { format(strxs,sizeof strxs,"%s","Hello"); for(new i=0; i<10; i++) { printf("%c",strxs[i]); } return 1; } and you'll get: "Accessing element at index 5 past array upper bound 4" |