SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Español/Spanish

Reply
 
Thread Tools Display Modes
Old 11/05/2017, 03:03 AM   #1
Lucille
Banned
 
Join Date: Apr 2017
Posts: 44
Reputation: 0
Default Necesio una ayudita :p

Alguien podria ayudarme en esto por favor
Code:
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 (c) 1997-2006, ITB CompuPhase


3 Warnings.
Aqui todo el codigo

Code:
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;
}
Lucille is offline   Reply With Quote
Old 12/05/2017, 04:04 PM   #2
Lucille
Banned
 
Join Date: Apr 2017
Posts: 44
Reputation: 0
Default Re: Necesio una ayudita :p

Alguien sabe una posible soluion ?
Lucille is offline   Reply With Quote
Old 12/05/2017, 05:00 PM   #3
ByMatt20030
Little Clucker
 
Join Date: Jul 2016
Posts: 46
Reputation: 0
Default Re: Necesio una ayudita :p

¿No seria mejor cargar cada dato en una variable, y luego usar esta?

Es decir:

Code:
new _pBlaBla;
INI_Int("PlayerInfo[playerid][pBlabla]", _pBlaBla);

SetPlayerAttachedObject(playerid, _pBlaBla, ......);
ByMatt20030 is offline   Reply With Quote
Old 12/05/2017, 09:24 PM   #4
Lucille
Banned
 
Join Date: Apr 2017
Posts: 44
Reputation: 0
Default Re: Necesio una ayudita :p

Perdona, no te entendi
Lucille is offline   Reply With Quote
Old 12/05/2017, 10:59 PM   #5
Gles
Big Clucker
 
Gles's Avatar
 
Join Date: Aug 2016
Location: Cargando...
Posts: 176
Reputation: 13
Default Respuesta: Necesio una ayudita :p

Úsalo así, y me avisas.

Code:
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;
}
__________________
"- Nadie es mejor que nadie, todos somos iguales aunque uno sepa mas que otro."
Gles is offline   Reply With Quote
Old 12/05/2017, 11:48 PM   #6
Lucille
Banned
 
Join Date: Apr 2017
Posts: 44
Reputation: 0
Default Re: Necesio una ayudita :p

Creo que quede igual.. xd

Code:
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 (c) 1997-2006, ITB CompuPhase


3 Warnings.
Lucille is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ayudita con CMD amateurguy Español/Spanish 3 11/02/2016 10:32 PM
una ayudita x qui MrMegaTx Español/Spanish 2 16/11/2011 04:48 PM
ayudita Daniel_Ruiz Español/Spanish 17 30/10/2011 05:28 PM
AYUDITA AKA Parka Español/Spanish 7 26/10/2011 01:59 PM
Una Ayudita luchomaggot Español/Spanish 8 08/03/2010 03:47 AM


All times are GMT. The time now is 03:53 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.