12.11.2018, 21:23
Quote:
|
Bump passado 1 hora para saber como usar o strcmp?
strcmp Description: Compares two strings to see if they are the same. Parameters: (const string1[], const string2[], bool:ignorecase=false, length=cellmax) PHP код:
|
pawn Код:
new string3[] = "bcvirtual2018";
pawn Код:
if(dialogid == 15151515)
{
if(response)
{
if(!strcmp(string3))
{
logadoadm[playerid] = 1;
format(string, sizeof(string), "| BCV-Admin | Bem vindo(a) %s seus comandos de %s foram carregados com sucesso!", PlayerName(playerid), CargoAdmin(playerid));
SendClientMessage(playerid, 0x058AFFFF, string);
}
return true;
}
return false;
}


