10.05.2011, 09:09
(
Last edited by JaTochNietDan; 10/05/2011 at 03:14 PM.
)
thanks but how do i read the whole file
-NVM- Fixed it ! ty vm
pawn Code:
new string[128], File:ftw = fopen(str,io_read);
fread(ftw, string);
if(strcmp(params, string, false) == 0)
{
PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
PlayerInfo[playerid][LoggedIn] = true;
SendClientMessage(playerid, red, "Account: You have successfully logged in.");
}
else return SendClientMessage(playerid, red, "Error: Incorrect Password.");
fclose(ftw);