01.11.2014, 06:10
Hi,
Can you explain:
printf("SPELL:%s - doesn't return value.", spell_func);
What value she have to return?
Can you explain:
Код:
for(new i; i < sizeof my_spells; i++) { new spell_func[24]; strcat(spell_func, my_spells[i]); if(strfind(spell_func, "!", false, strlen(spell_func)-1)) { strdel(spell_func, strlen(spell_func)-1, strlen(spell_func)); } new rspace; while((rspace = strfind(spell_func, " ", false, rspace)) != -1) { strdel(spell_func, rspace, rspace + 1); strins(spell_func, "_", rspace); } if(!CallLocalFunction(spell_func, "i", INVALID_PLAYER_ID)) { my_spells[i] = ""; printf("SPELL:%s - doesn't return value.", spell_func); } }
What value she have to return?