Using an array (enumerator and specifically a string) in a ternary operator causes the compiler to crash
#3

Did you try creating a new variable within the function?
PHP код:
//stock kick(blabla)
{
    new 
pName[24];
    
format(pName24Player[kickerid][epd_Username]); //Or if it still doesn't work; format(pName, 24, "%s", Player[kickerid][epd_Username]);
    //Messagestuff ("The server") : (pName)

Compilers sometimes are funny, and when something doesn't work one way, it does work the other way while the principle is the same.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)