Necesio una ayudita :p -
Lucille - 11.05.2017
Alguien podria ayudarme en esto por favor
Код:
C:\Users\JONATAN\Desktop\diego\GM\filterscripts\peinados.pwn(400 -- 401) : warning 213: tag mismatch
C:\Users\JONATAN\Desktop\diego\GM\filterscripts\peinados.pwn(400 -- 402) : warning 213: tag mismatch
C:\Users\JONATAN\Desktop\diego\GM\filterscripts\peinados.pwn(400 -- 403) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Warnings.
Aqui todo el codigo
Код:
CabelloJugador(playerid)
{
new
uFile[35];
format(uFile, 35, PATH, GetName(playerid));
INI_ParseFile(uFile, "CargarPeinados", .bExtra = true, .extra = playerid);
SetPlayerAttachedObject(playerid,
INT:PlayerInfo[playerid][pindex],
INT:PlayerInfo[playerid][pmodelid],
INT:PlayerInfo[playerid][pboneid],
Float:PlayerInfo[playerid][pfOffsetX],
Float:PlayerInfo[playerid][pfOffsetY],
Float:PlayerInfo[playerid][pfOffsetZ],
Float:PlayerInfo[playerid][pfRotX],
Float:PlayerInfo[playerid][pfRotY],
Float:PlayerInfo[playerid][pfRotZ],
Float:PlayerInfo[playerid][pfScaleX],
Float:PlayerInfo[playerid][pfScaleY],
Float:PlayerInfo[playerid][pfScaleZ]);
return 1;
}
Re: Necesio una ayudita :p -
Lucille - 12.05.2017
Alguien sabe una posible soluion

?
Re: Necesio una ayudita :p -
ByMatt20030 - 12.05.2017
їNo seria mejor cargar cada dato en una variable, y luego usar esta?
Es decir:
Код:
new _pBlaBla;
INI_Int("PlayerInfo[playerid][pBlabla]", _pBlaBla);
SetPlayerAttachedObject(playerid, _pBlaBla, ......);
Re: Necesio una ayudita :p -
Lucille - 12.05.2017
Perdona, no te entendi
Respuesta: Necesio una ayudita :p -
Gles - 12.05.2017
Ъsalo asн, y me avisas.
Код:
CabelloJugador(playerid)
{
new uFile[35];
format(uFile, 35, PATH, GetName(playerid));
INI_ParseFile(uFile, "CargarPeinados", .bExtra = true, .extra = playerid);
SetPlayerAttachedObject(playerid,
INT:PlayerInfo[playerid][pindex],
INT:PlayerInfo[playerid][pmodelid],
INT:PlayerInfo[playerid][pboneid],
Float:PlayerInfo[playerid][pfOffsetX],
Float:PlayerInfo[playerid][pfOffsetY],
Float:PlayerInfo[playerid][pfOffsetZ],
Float:PlayerInfo[playerid][pfRotX],
Float:PlayerInfo[playerid][pfRotY],
Float:PlayerInfo[playerid][pfRotZ],
Float:PlayerInfo[playerid][pfScaleX],
Float:PlayerInfo[playerid][pfScaleY],
Float:PlayerInfo[playerid][pfScaleZ]);
return 1;
}
Re: Necesio una ayudita :p -
Lucille - 12.05.2017
Creo que quede igual.. xd
Код:
C:\Users\JONATAN\Desktop\diego\GM\filterscripts\peinados.pwn(397 -- 398) : warning 213: tag mismatch
C:\Users\JONATAN\Desktop\diego\GM\filterscripts\peinados.pwn(397 -- 399) : warning 213: tag mismatch
C:\Users\JONATAN\Desktop\diego\GM\filterscripts\peinados.pwn(397 -- 400) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Warnings.