27.07.2010, 17:13
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;
}
}
}
}
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;
}
}
}
}

