C:\Documents and Settings\Administrador\Meus documentos\jonas\Brasil Play Matrix Ownando\gamemodes\bpm.pwn(2913) : error 010: invalid function or declaration C:\Documents and Settings\Administrador\Meus documentos\jonas\Brasil Play Matrix Ownando\gamemodes\bpm.pwn(2915) : error 010: invalid function or declaration C:\Documents and Settings\Administrador\Meus documentos\jonas\Brasil Play Matrix Ownando\gamemodes\bpm.pwn(2921) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
if(dialogid == 9)
{
if(response == 0)
{
PlayerInfo[playerid][pSex] = 1;
SetPlayerSkin(playerid, 23);
ShowPlayerDialog(playerid, 46, DIALOG_STYLE_MSGBOX, "Sexo:", "Vocк й um Homem", "OK","Sair");
}
if(response == 1)
{
PlayerInfo[playerid][pSex] = 2;
SetPlayerSkin(playerid, 56);
ShowPlayerDialog(playerid, 45, DIALOG_STYLE_MSGBOX, "Sexo:", "Vocк й uma Mulher", "OK","Sair");
}
if(dialogid == 9)
if(response == 0)
if(response == 1)
if(dialogid == 2)// Dialogo de Registro
{
if(response == 0)
{
//GetPlayerName(playerid,plname,sizeof(plname));
//format(string,sizeof(string),"%s Seja Bem Vindo ao\nLaw and Crime RPG Digite sua Senha para Registrar!",plname);
//ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "Registrar", string, "Registrar", "Sair");
SendClientMessage(playerid, COLOR_GRAD2, "Vocк pode registrar pelo o /registrar");
return 1;
}
if(response >= 1)
{
if(strlen(inputtext) == 0)
{
GetPlayerName(playerid,plname,sizeof(plname));
format(string,sizeof(string),"%s Seja Bem Vindo ao\nLaw and Crime RPG Digite sua Senha para Registrar!",plname);
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "Registrar", string, "Registrar", "Sair");
return 1;
}
if(strval(inputtext) > 0)
{
format(string,sizeof(string),"/registrar %d",strval(inputtext));
OnPlayerCommandText(playerid,string);
return 1;
}
format(string,sizeof(string),"/registrar %s",inputtext);
OnPlayerCommandText(playerid,string);
return 1;
}
return 1;
}
if(dialogid == 3)// Dialogo da Escolha de Sexo
{
if(response == 0)
{
if(PlayerInfo[playerid][pTut] >= 1) { SendClientMessage(playerid, COLOR_YELLOW2, "Ok, vocк e Mulher."); PlayerInfo[playerid][pSex] = 2; return 1; }
OnPlayerText(playerid,"mulher");
return 1;
}
if(response == 1)
{
if(PlayerInfo[playerid][pTut] >= 1) { SendClientMessage(playerid, COLOR_YELLOW2, "Ok, vocк e Homem."); PlayerInfo[playerid][pSex] = 1; return 1; }
OnPlayerText(playerid,"homem");
return 1;
}
if(response > 1)
{
format(string,sizeof(string),"~b~ Seja Bem Vindo~n~~w~Agora voce tem que preencher~n~Algumas informacoes necessarias~n~Para completar seu Cadastro.~n~E depois acompanhara,~n~O Tutorial Esplicando como~n~Ser um bom Jogador.");
TextDrawSetString(TutuText[playerid], string);
TextDrawHideForPlayer(playerid, TutuBox[playerid]);
TextDrawHideForPlayer(playerid, TutuText[playerid]);
TextDrawShowForPlayer(playerid, TutuBox[playerid]);
TextDrawShowForPlayer(playerid, TutuText[playerid]);
ShowPlayerDialog(playerid, 3, DIALOG_STYLE_MSGBOX, "Law and Crime RPG", "Escolha Seu Sexo Por Favor.", "Masculino", "Femino");
return 1;
}
return 1;
}
if(dialogid == 4)// Dialogo da Escolha de Idade
{
if(response == 0)
{
OnPlayerText(playerid,"28/02/1996");
return 1;
}
if(response == 1)
{
OnPlayerText(playerid,"Law and Crime RPG");
return 1;
}
return 1;
}
if(dialogid == 5)// Dialogo da Escolha da Cidade
{
if(response == 0)
{
OnPlayerText(playerid,"Law and Crime RPG");
return 1;
}
if(response == 1)
{
if(listitem == 0)
{
OnPlayerText(playerid,"ls");
return 1;
}
if(listitem == 1)
{
OnPlayerText(playerid,"lv");
return 1;
}
if(listitem == 2)
{
SendClientMessage(playerid, COLOR_GRAD1, "Cidade Bloqueada no Momento!");
ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Law and Crime RPG", "Los Santos\nLas Venturas\nSan Fierro", "Confirmar", "Cancelar");
//OnPlayerText(playerid,"sf");
return 1;
}
}
return 1;
}
|
pega esse de um gm que tenho aqui
Код:
if(dialogid == 2)// Dialogo de Registro
{
if(response == 0)
{
//GetPlayerName(playerid,plname,sizeof(plname));
//format(string,sizeof(string),"%s Seja Bem Vindo ao\nLaw and Crime RPG Digite sua Senha para Registrar!",plname);
//ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "Registrar", string, "Registrar", "Sair");
SendClientMessage(playerid, COLOR_GRAD2, "Vocк pode registrar pelo o /registrar");
return 1;
}
if(response >= 1)
{
if(strlen(inputtext) == 0)
{
GetPlayerName(playerid,plname,sizeof(plname));
format(string,sizeof(string),"%s Seja Bem Vindo ao\nLaw and Crime RPG Digite sua Senha para Registrar!",plname);
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "Registrar", string, "Registrar", "Sair");
return 1;
}
if(strval(inputtext) > 0)
{
format(string,sizeof(string),"/registrar %d",strval(inputtext));
OnPlayerCommandText(playerid,string);
return 1;
}
format(string,sizeof(string),"/registrar %s",inputtext);
OnPlayerCommandText(playerid,string);
return 1;
}
return 1;
}
if(dialogid == 3)// Dialogo da Escolha de Sexo
{
if(response == 0)
{
if(PlayerInfo[playerid][pTut] >= 1) { SendClientMessage(playerid, COLOR_YELLOW2, "Ok, vocк e Mulher."); PlayerInfo[playerid][pSex] = 2; return 1; }
OnPlayerText(playerid,"mulher");
return 1;
}
if(response == 1)
{
if(PlayerInfo[playerid][pTut] >= 1) { SendClientMessage(playerid, COLOR_YELLOW2, "Ok, vocк e Homem."); PlayerInfo[playerid][pSex] = 1; return 1; }
OnPlayerText(playerid,"homem");
return 1;
}
if(response > 1)
{
format(string,sizeof(string),"~b~ Seja Bem Vindo~n~~w~Agora voce tem que preencher~n~Algumas informacoes necessarias~n~Para completar seu Cadastro.~n~E depois acompanhara,~n~O Tutorial Esplicando como~n~Ser um bom Jogador.");
TextDrawSetString(TutuText[playerid], string);
TextDrawHideForPlayer(playerid, TutuBox[playerid]);
TextDrawHideForPlayer(playerid, TutuText[playerid]);
TextDrawShowForPlayer(playerid, TutuBox[playerid]);
TextDrawShowForPlayer(playerid, TutuText[playerid]);
ShowPlayerDialog(playerid, 3, DIALOG_STYLE_MSGBOX, "Law and Crime RPG", "Escolha Seu Sexo Por Favor.", "Masculino", "Femino");
return 1;
}
return 1;
}
if(dialogid == 4)// Dialogo da Escolha de Idade
{
if(response == 0)
{
OnPlayerText(playerid,"28/02/1996");
return 1;
}
if(response == 1)
{
OnPlayerText(playerid,"Law and Crime RPG");
return 1;
}
return 1;
}
if(dialogid == 5)// Dialogo da Escolha da Cidade
{
if(response == 0)
{
OnPlayerText(playerid,"Law and Crime RPG");
return 1;
}
if(response == 1)
{
if(listitem == 0)
{
OnPlayerText(playerid,"ls");
return 1;
}
if(listitem == 1)
{
OnPlayerText(playerid,"lv");
return 1;
}
if(listitem == 2)
{
SendClientMessage(playerid, COLOR_GRAD1, "Cidade Bloqueada no Momento!");
ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Law and Crime RPG", "Los Santos\nLas Venturas\nSan Fierro", "Confirmar", "Cancelar");
//OnPlayerText(playerid,"sf");
return 1;
}
}
return 1;
}
|