OnPlayerText please help
#3

pawn Код:
public OnPlayerText(playerid, text[])
{
    if(IsPlayerInRangeOfPoint(playerid,1.0,x,y,z)) //the range of point is the same of the CP (LVCityHall)
    {
        if(strlen(text) == 1)
        {
            TextDrawHideForPlayer(playerid, Skills); //if he types number [1] ,,it will hide the main textdraws
            TextDrawShowForPlayer(playerid, SkillsOptions); // and will show another text draws for the SKILLS
            //1. Hitman
            //2. Con Artist
            //3. Rapist
        }
    }
    return 1;
}
Reply


Messages In This Thread
OnPlayerText please help - by AnonScripter - 07.10.2013, 20:51
Re: OnPlayerText please help - by AnonScripter - 07.10.2013, 22:38
Re: OnPlayerText please help - by xganyx - 08.10.2013, 01:51
Re: OnPlayerText please help - by AnonScripter - 08.10.2013, 22:13

Forum Jump:


Users browsing this thread: 1 Guest(s)