new string[600] = "Cartгo bronze tem vбros privilйgios, como\n";
strins(string,"- Sistema de Emprйstimo previlegiado, caso nгo tenha nada de dinheiro no banco,\n",strlen(string));
strins(string,"ele te empresta se nгo pagar, seu saldo no banco ficarб negativo,\n",strlen(string));
strins(string,"quando adicionar algo de grana serб descontado, Com Limite de 150.000 Reais.\n",strlen(string));
strins(string,"Tambйm poderб receber um payday especial de cartгo bronze de 50 reais a cada 1 dia.\n",strlen(string));
strins(string,"Preзo do cartгo bronze: 10.000 reais. (nгo reais e sim no jogo xD).",strlen(string));
ShowPlayerDialog(playerid, DIALOG_CARTAO_BRONZE, DIALOG_STYLE_MSGBOX,"~ CARTГO BRONZE~",string, "Comprar","Voltar");
if(strcmp(cmd, "/comandos", true) == 0)
{
if(IsPlayerConnected(playerid))
{
ShowPlayerDialog(playerid, 20, DIALOG_STYLE_MSGBOX, "comandos", "/comandos", "Ok", "Sair");
return 1;
}
return 1;
}
if(strcmp("/corinthians", cmdtext, true) == 0)
{
static string[600] = "CORINTHIANS PODEROSO TIMAO\n";
strins(string,"/corinthians /corinthians /corinthians /corinthians /corinthians /corinthians\n",strlen(string));
strins(string," /corinthians /corinthians /corinthians /corinthians /corinthians /corinthians\n",strlen(string));
ShowPlayerDialog(playerid, DIALOGTIMAO, DIALOG_STYLE_MSGBOX,"TIMAO",string, "OWN3D","OWN3D");
return 1;
}
static string[600] = "iPs Team\n";
strins(string,"Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, \n",strlen(string));
strins(string,"Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, ,\n",strlen(string));
strins(string,"Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, Gatoh, .\n",strlen(string));
strins(string,"Tambйm poderб receber um payday especial de cartгo bronze de 50 reais a cada 1 dia.\n",strlen(string));
ShowPlayerDialog(playerid, DIALOG_CARTAO_BRONZE, DIALOG_STYLE_MSGBOX,"~ Info ~",string, "Ok","Fechar");
@Galerinha
Para que utilizar strings e strlen se existe strcat? Pelo amor de deus pawn Код:
Hello World @Topic Fazemos um strcat em cada comando ou varios comando segue exemplo: pawn Код:
|