Can I define a string like this?
#8

pawn Код:
stock SexGender(playerid)
{
    new Sex2[3];

    if(IsPlayerConnected(playerid))
    {
        if(Player[playerid][Gender] == 2)
        {
            Sex2 = "her";
        }
        else if(Player[playerid][Gender] == 4)
        {
            Sex2 = "his";
        }
    }
    else
    {
        Sex2 = "Disconnected/Nothing";
    }

    return Sex2;
}
Reply


Messages In This Thread
Can I define a string like this? - by Stefand - 09.05.2013, 20:27
Respuesta: Can I define a string like this? - by LoLeRo - 09.05.2013, 20:33
Re: Can I define a string like this? - by Scenario - 09.05.2013, 20:33
AW: Can I define a string like this? - by BigETI - 09.05.2013, 20:38
Re: Can I define a string like this? - by IceCube! - 09.05.2013, 20:44
Re: Can I define a string like this? - by Vince - 09.05.2013, 20:54
Re: Can I define a string like this? - by Stefand - 09.05.2013, 21:25
Respuesta: Can I define a string like this? - by LoLeRo - 09.05.2013, 21:28
Re: Can I define a string like this? - by Scenario - 09.05.2013, 21:29
Re: Can I define a string like this? - by Stefand - 09.05.2013, 21:52

Forum Jump:


Users browsing this thread: 3 Guest(s)