Killing the compiler
#1

I somehow managed to kill the compiler

pawn Код:
#include <a_samp>

main() {
    print("Yay");
    Killer("Wut");
}

stock Killer(teh[], size = sizeof teh) {
    new murderer[512];
    if(sizeof murderer < size) return "Damnit";
    return teh;
}
Is there any way around it?
Reply
#2

I don't think you can return literal strings.
Reply
#3

Oh. Well, that was stupid on my part. Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)