OnPlayerText
#6

Quote:
Originally Posted by FireCat
Посмотреть сообщение
try this:
else
if((strcmp("LC", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("LC")))
{
PlayerInfo[playerid][pNationality] = 4;
ClearChatbox(playerid, ;
SendClientMessage(playerid, COLOR_GREEN, "-----------------------------------------------------------------------");
SendClientMessage(playerid, COLOR_GREY, "Nice, so you are from Liberty City.");
SendClientMessage(playerid, COLOR_GREEN, "-----------------------------------------------------------------------");
ClearChatbox(playerid, 2);
RegistrationStep[playerid] = 0;
TutTime[playerid] = 1;
return 1;
}
}
}
}
did'nt work, but i solved it anyway it was

Код:
			else if((strcmp("LC", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("LC")))
			{
			    PlayerInfo[playerid][pNationality] = 4;
                ClearChatbox(playerid, 8);
                SendClientMessage(playerid, COLOR_GREEN, "-----------------------------------------------------------------------");
			    SendClientMessage(playerid, COLOR_GREY, "Nice, so you are from Liberty City.");
			    SendClientMessage(playerid, COLOR_GREEN, "-----------------------------------------------------------------------");
			    ClearChatbox(playerid, 2);
				RegistrationStep[playerid] = 0;
			    TutTime[playerid] = 1;
			    return 0;
				}
         }
	}
	return 1;
}
Reply


Messages In This Thread
OnPlayerText - by Hash [NL-RP] - 27.07.2010, 17:07
Re: OnPlayerText - by matthewdriftking - 27.07.2010, 17:12
Re: OnPlayerText - by FireCat - 27.07.2010, 17:13
Re: OnPlayerText - by Vince - 27.07.2010, 17:14
Re: OnPlayerText - by rbN. - 27.07.2010, 17:14
Re: OnPlayerText - by Hash [NL-RP] - 27.07.2010, 17:16

Forum Jump:


Users browsing this thread: 1 Guest(s)