How to set string to an array without assigning in to an array?
#2

PHP Code:
GetStatu(playerid)
{
    static
    
str[24];
    switch (
PlayerInfo[playerid][pStatus])
    {
        case 
0str "Offline";
        case 
1str "Online";
    }
    return 
str;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)