DOF2_SetString(vfile, "Tutorial", "0");
GivePlayerGranaEx(playerid,10000);
ShowPlayerDialog(playerid, paislogin, DIALOG_STYLE_MSGBOX, "Registro", "Agora\tSelecione o Seu Pais", "Brasil", "Portugal");
GameTextForPlayer(playerid, "~w~Registrado", 8000, 1);
pFase[playerid][Logado] = 1;
if(dialogid == TUTO)
{
if(response == 1)
{
InterpolateCameraPos(playerid, 1648.991333, -1506.587768, 70.237091, 1712.693603, -1621.302490, 26.039173, 5000, CAMERA_MOVE);
InterpolateCameraLookAt(playerid, 1650.572875, -1511.177978, 69.041748, 1716.547241, -1624.255493, 24.843832, 5000, CAMERA_MOVE);
GameTextForPlayer(playerid,"~w~] ~b~~h~~h~Informacoes ~w~]", 8000, 3);
ShowPlayerDialog(playerid, 11, DIALOG_STYLE_MSGBOX, "{FF34B3}Informaзхes", "{FFFFFF}Este й um servidor de RPG (Role Play Game), Simulaзгo de vida real.\nVocк nгo mata ninguйm na vida real, nгo rouba, nгo faz 'besteiras'.\nSe vocк for um civil, jogue como um civil. Se for gangster... Ai sim, Poderб matar e roubar.\nNгo mate pessoas que nгo fizeram nada com vocк.", "Avanзar", "");
return 0;
}
else if(response == 0)
{
//Kick(playerid);
return 0;
}
return 0;
}
if(dialogid == 11)
{
if(response == 1)
{
InterpolateCameraPos(playerid, 1648.991333, -1506.587768, 70.237091, 1712.693603, -1621.302490, 26.039173, 5000, CAMERA_MOVE);
InterpolateCameraLookAt(playerid, 1650.572875, -1511.177978, 69.041748, 1716.547241, -1624.255493, 24.843832, 5000, CAMERA_MOVE);
GameTextForPlayer(playerid,"~w~] ~r~~h~Regras ~w~]", 8000, 3);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_MSGBOX, "{FF34B3}Regras", "{FFFFFF}Sempre respeite um adminnistrador ou helper, eles estгo fazendo o melhor por vocк.\nNгo abuse da boa vontade de nossos admins e helpers.\nNгo peзa admin ou helper, e nem peзa para que eles aumentem seus cargos.\nNгo cause terrorismo, DM, DB, nгo abuse de BUG's, e nunca use cheater's.", "Avanзar", "");
return 0;
}
................................
Nгo entendi bem, vocк qr que ele verifique se o player ja passou pelo tutorial pra n ter que ficar passando toda vez que logar?
|
OH sim,
para que dar UP se seu post estava entre os primeiros? |
DOF2_SetString(vfile, "Tutorial", "0");
if(DOF2_GetInt(vfile, "Tutorial") != 1)
{
//Inicie o tutorial aqui.
}
DOF2_SetInt(vfile,"Tutorial", 1);
pawn Код:
Assim que o player logar, verifique se o tutorial dele й igual ao valor 1. pawn Код:
pawn Код:
|
error: 035: argument type mismatch (argument 3)
LINHA: DOF2_SetInt(vfile, "Tutorial", "0");
Cara e o seguinte da dando esse erro:
PHP код:
|