[AYUDA] MSelection
#1

Hola amigos! Bueno, estaba intentando poner el include de Mselection en mi server, lo puse todo bien, pero al terminar me tira estos errores :

\pawno\include\mSelection.inc(193) : error 017: undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"
\pawno\include\mSelection.inc(197) : error 017: undefined symbol "PlayerTextDrawSetPreviewModel"
\pawno\include\mSelection.inc(19 : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
\pawno\include\mSelection.inc(190) : warning 203: symbol is never used: "mZoom"
\pawno\include\mSelection.inc(190) : warning 203: symbol is never used: "Zrot"
\pawno\include\mSelection.inc(190) : warning 203: symbol is never used: "Yrot"
\pawno\include\mSelection.inc(190) : warning 203: symbol is never used: "Xrot"
\pawno\include\mSelection.inc(190) : warning 203: symbol is never used: "modelindex"
(49847) : error 017: undefined symbol "skins"
(50023) : warning 203: symbol is never used: "IsAForbidden"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

їAlguna ayuda? Gracias
Reply
#2

lo has puesto tambien en la carpeta includes de pawno?
Reply
#3

Claro...
Reply
#4

Creo que lo que usas es el Zamaroth. Borrб todas las lineas en las que te dan los errores .-.
Yo hice eso y me funcionу bien.

Saludos.
Reply
#5

actualiza tus includes y listo ._.
Reply
#6

Quote:

actualiza tus includes y listo ._.

Ya lo hice y sigue tirando el mismo error.

Quote:
Quote:

actualiza tus includes y listo ._.

Ya lo hice y sigue tirando el mismo error.

Ahh, ahн esta. Habнa hecho unas cosas mal. Pero ahora entre al server y si anda, pero hay un nuevo problema, al seleccionar la skin y darle click, no me lo cambia, no pasa nada.
Reply
#7

Quote:
Quote:
Quote:

actualiza tus includes y listo ._.

Ya lo hice y sigue tirando el mismo error.

Ahh, ahн esta. Habнa hecho unas cosas mal. Pero ahora entre al server y si anda, pero hay un nuevo problema, al seleccionar la skin y darle click, no me lo cambia, no pasa nada.

Ahora lo arme de nuevo, asн :

Quote:

zcmd(cropa, playerid, params[]){
new skins = mS_INVALID_LISTID;
skins = LoadModelSelectionMenu("skins.txt");
if(!IsAtClothShop(playerid)) return SendClientMessageEx(playerid, COLOR_GRAD2, "ЎNo estбs en una tienda de Ropa!");
if(IsPlayerConnected(playerid)){
ShowModelSelectionMenu(playerid, skins, "Elije tu nueva ropa"); //Colocamos la funciуn para que muestre el menъ. Fнjense bien los parбmetros.
}
else SendClientMessageEx(playerid, COLOR_GRAD2, "No estбs conectado!");
return 1;
//menu de skins
if OnPlayerModelSelection(playerid, response, listid, modelid)
{
if(listid == skins) //recordamos nuestra variable puesta para nuestro menъ.
{
if(response) //Al presionar el botуn de elegir.
{
SendClientMessage(playerid, -1, "Vendedora: ЎGracias por comprar!ЎLuces bien con tu nueva ropa!"); // Un mensajito.
SetPlayerSkin(playerid, modelid); //Le coloca el skin elegido.
GivePlayerMoney(playerid, -30); //Opcional, sacarle $100.
}
else SendClientMessage(playerid, -1, "Cerraste el menъ"); //Si elige el botуn de cancelar
return 1; //retornamos el menъ
}
return 1; //retornamos el callback.
}
}

y me tira estos errores :

Quote:

(254) : warning 201: redefinition of constant/macro (symbol "TEXT_DRAW_FONT_MODEL_PREVIEW")
(28100) : warning 225: unreachable code
(28100) : error 004: function "OnPlayerModelSelection" is not implemented
(28102) : error 017: undefined symbol "listid"
(28104) : error 017: undefined symbol "response"
(28107) : error 017: undefined symbol "modelid"
(28115) : warning 209: function "cmd_cropa" should return a value
(50024) : warning 203: symbol is never used: "IsAForbidden"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

HELP PLS.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)