new r_Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, r_Name, sizeof(r_Name));
new r_String[128];format (r_String, sizeof(r_String), "/Contas/%s", DOF2_udb_encode(r_Name));
if(r_Logado[playerid] == 0) if(!DOF2_FileExists(r_String)) {
GameTextForPlayer(playerid, "REGISTRE-SE ANTES!", 4000, 3), r_REGISTRARDIALOG(playerid);
}
else {
GameTextForPlayer(playerid, "VOCE NAO ESTA LOGADO!", 4000, 3), r_LOGINDIALOG(playerid);
return 0;
}
if(strcmp("Josma", "josma", true)) //Vai retornar a true porque ele ESTБ ignorando o case sensitive
if(strcmp("Josma", "josma", false)) //Vai retornar a false porque ele NГO ESTБ ignorando o case sensitive
strcmp(string1, string2, ignoreCaseSensitive)
pawn Код:
|