Urgent Help! Error 29 - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Urgent Help! Error 29 (
/showthread.php?tid=606678)
Urgent Help! Error 29 -
Jabien225 - 07.05.2016
if(strcmp(ReadPlayer(1,playerid),inputtext,false)! =0
{ //This Line
SendClientMessage(playerid,BLU,"Invalid Password!");
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Lo gin","Welcome! Please login!","Login","Exit");
}
else TogglePlayerSpectating(playerid,0);
}
else Kick (playerid);
}
case 2:
{
if(response==1)
{
WritePlayer(inputtext,playerid,true);
else TogglePlayerSpectating(playerid,0);//and this line need help
}
else Kick(playerid);
---------------------------------THEM LINES NEED HELP----------------------------------------
Re: Urgent Help! Error 29 -
Konstantinos - 07.05.2016
Код:
if (strcmp(ReadPlayer(1, playerid), inputtext, false) != 0)
Next time include the error message not just the number so it will easier for us to help.