30.05.2011, 19:08
unos errorsitos D:
Quote:
C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(129) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(131) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(137) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(143) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(145) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(147) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(149) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(153) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(157) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(161) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(165) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(169) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(173) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(177) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(181) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(185) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(189) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(200) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(271) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(275) : error 010: invalid function or declaration C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(282) : warning 202: number of arguments does not match definition C:\Users\felix\Desktop\SidneyCity RP\gamemodes\SidneyCity.pwn(439) : warning 203: symbol is never used: "strtok" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 20 Errors. |
pawn Код:
// lineas 129 - 144
if(dialogid == SSexo)
{
if(response == 0)
{
SetPlayerSkin(playerid,93);
Informacion[playerid][Sexo] = 2;
ShowPlayerDialog(playerid, SEdad, DIALOG_STYLE_LIST, "{FFFFFF}Seleccione Su Edad", "16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26", "Seleccionar", "");
}
if(response == 1)
{
SetPlayerSkin(playerid,26);
Informacion[playerid][Sexo] = 1;
ShowPlayerDialog(playerid, SEdad, DIALOG_STYLE_LIST, "{FFFFFF}Seleccione Su Edad", "16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26", "Seleccionar", "");
}
return 1;
}
// lineas 145 - 201
if(dialogid == SEdad)
{
if(response)
{
if(listitem == 0)
{
Informacion[playerid][Edad] = 16;
}
else if(listitem == 1)
{
Informacion[playerid][Edad] = 17;
}
else if(listitem == 2)
{
Informacion[playerid][Edad] = 18;
}
else if(listitem == 3)
{
Informacion[playerid][Edad] = 19;
}
else if(listitem == 4)
{
Informacion[playerid][Edad] = 20;
}
else if(listitem == 5)
{
Informacion[playerid][Edad] = 21;
}
else if(listitem == 6)
{
Informacion[playerid][Edad] = 22;
}
else if(listitem == 7)
{
Informacion[playerid][Edad] = 23;
}
else if(listitem == 8)
{
Informacion[playerid][Edad] = 24;
}
else if(listitem == 9)
{
Informacion[playerid][Edad] = 25;
}
else if(listitem == 10)
{
Informacion[playerid][Edad] = 26;
}
}
SendClientMessage(playerid,-1," Tutorial");
SendClientMessage(playerid,-1,"DM es XXX y XXX");//modifiquen el tutorial..
SendClientMessage(playerid,-1,"MG es XXX y XXX");//modifiquen el tutorial..
SendClientMessage(playerid,-1,"RK es XXX y XXX");//modifiquen el tutorial..
SendClientMessage(playerid,-1,"CJ es XXX y XXX");//modifiquen el tutorial..
PTuto[playerid] = 1;
return 1;
}
// linea 271 - 292
if(Informacion[playerid][Tutorial] == 0)
{
TogglePlayerControllable(playerid,0);
ShowPlayerDialog(playerid,SSexo,DIALOG_STYLE_MSGBOX,"{FFFFFF}Seleccionar Sexo","{00FFCC}їQue Sexo Eres, Masculino o Femenino?","Masculino","Femenino");
return 1;
}
public ActualizarCuenta(playerid)
{
if(Identificado[playerid] == 1)
{
new archivo[256], usuario[MAX_PLAYER_NAME];
GetPlayerName(playerid, usuario[playerid]);
format(archivo, 256, "Usuarios/%s.ini", usuario);
dini_IntSet(archivo, "Tutorial", Informacion[playerid][Tutorial]);
dini_IntSet(archivo, "Dinero", GetPlayerMoney(playerid));
dini_IntSet(archivo, "Admin", Informacion[playerid][Admin]);
dini_IntSet(archivo, "Sexo", Informacion[playerid][Sexo]);
dini_IntSet(archivo, "Edad", Informacion[playerid][Edad]);
dini_IntSet(archivo, "Faccion", Informacion[playerid][Faccion]);
}
return 1;
}