Compiler crash (a == b) ? d : e
#3

Код:
function BanCheck(playerid)
{
    // blabla
    if(gettime < unbantime)
    {
        new type[20], unbantime;
        // load cache mysql & unbantime
        format(type, sizeof(type) "%s", (unbantime == 0) ? ("Permanent") : ("unbantime")); // this code make crash

        // blbla
        new string[128];
        format(string, sizeof(string), "Banned Type: %s", type); // this will show text from type
        // blabla
    }
    return 1;
}
Reply


Messages In This Thread
Compiler crash (a == b) ? d : e - by kecoajepit - 30.03.2018, 02:18
Re: Compiler crash (a == b) ? d : e - by Dayrion - 30.03.2018, 05:43
Re: Compiler crash (a == b) ? d : e - by UFF - 30.03.2018, 05:58
Re: Compiler crash (a == b) ? d : e - by kecoajepit - 30.03.2018, 09:11

Forum Jump:


Users browsing this thread: 1 Guest(s)