26.07.2009, 12:05
Try this (just a suggestion, not tested yet):
And if that doesn't work, then try this:
pawn Код:
if(strcmp(Pass, params, true))
{
// Put your code in here which does the things you want it to do when the player types in the correct password
return 1;
}
if(strcmp(Pass, params, false))
{
SendClientMessage(playerid, GRAY, "[Server]: Wrong password!");
return 1;
}
And if that doesn't work, then try this:
pawn Код:
if(!strcmp(Pass, params, true))
{
// Put your code in here which does the things you want it to do when the player types in the correct password
return 1;
}
if(!strcmp(Pass, params, false))
{
SendClientMessage(playerid, GRAY, "[Server]: Wrong password!");
return 1;
}