19.07.2011, 11:46
pawn Код:
CMD:login(playerid, cmdtext[])
{
new Password;
if(!sscanf(cmdtext, "s[50]", Password))
{
if(Password == "Lol") // Password is lol
{
SendClientMessage(playerid, -1, "You succesfully logged in as admin");
} else {
// If password != Lol
}
}
return 1;
}