08.10.2013, 01:51
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;
}