23.07.2014, 08:35
(
Последний раз редактировалось francox_33; 23.07.2014 в 10:28.
)
Hola bueno soy nuevo, y estoy empezando a hacer dialog, bueno tengo este problema:
Me tiran estos errores:
Y lo otro es como poner textos flotantes, es decir por ejemplo en la puerta de un lugar diga "Escribe /entrar para ingresar al sitio" o cosas asн. Espero que me puedan ayudar, saludos.
pawn Код:
if ( response )
{
switch ( dialogid )
{
case 1 :
{
switch ( listitem )
{
case 0 : ShowPlayerDialog( playerid, 2, DIALOG_STYLE_LIST,"Desert Eagle/n9MM/n9MM Silenciada","Aceptar","cancelar");
case 1 : ShowPlayerDialog( playerid, 3, DIALOG_STYLE_LIST,"MP5/nTec/nMicro","aceptar",·"cancarlar");
case 2 : ShowPlayerDialog( playerid, 4, DIALOG_STYLE_LIST,"m4/nak-47","Aceptar","Cancelar");
}
}
case 2:
{
if ( listitem == 0 )
{
GivePlayerWeapon(playerid, 24, 9999);
SendClientMessage(playerid, COLOR_YELLOW, "Disfrute de su Desert!");
}
if ( listitem == 1 )
{
GivePlayerWeapon(playerid, 22 , 9999);
SendClientMessage(playerid, COLOR_YELLOW, "Disfrute de su 9mm!");
}
if ( listitem == 2 )
{
GivePlayerWeapon(playerid, 23 , 9999);
SendClientMessage(playerid, COLOR_YELLOW, "Disfrute de su 9mm silenciada!");
}
if ( listitem == 3 )
{
GivePlayerWeapon(playerid, 29 , 9999);
SendClientMessage(playerid, COLOR_YELLOW, "Disfrute de su MP5!");
}
if ( listitem == 4 )
{
GivePlayerWeapon(playerid, 32 , 9999);
SendClientMessage(playerid, COLOR_YELLOW, "Disfrute de su Tec!");
}
if ( listitem == 5 )
{
GivePlayerWeapon(playerid, 28 , 9999);
SendClientMessage(playerid, COLOR_YELLOW, "Disfrute de su Micro!");
}
if ( listitem == 6 )
{
GivePlayerWeapon(playerid, 31 , 9999);
SendClientMessage(playerid, COLOR_YELLOW, "Disfrute de su M4!");
}
if ( listitem == 7 )
{
GivePlayerWeapon(playerid, 30, 9999);
SendClientMessage(playerid, COLOR_YELLOW, "Disfrute de su AK-47!");
}
}
}
return 1;
}
Код:
C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1132) : error 010: invalid function or declaration C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1134) : error 010: invalid function or declaration C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1136) : error 010: invalid function or declaration C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1138) : error 010: invalid function or declaration C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1140) : error 010: invalid function or declaration C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1141) : error 010: invalid function or declaration C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1142) : error 010: invalid function or declaration C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1145) : error 010: invalid function or declaration C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1147) : error 010: invalid function or declaration C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1153) : error 010: invalid function or declaration C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1158) : error 010: invalid function or declaration C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1163) : error 010: invalid function or declaration C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1168) : error 010: invalid function or declaration C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1173) : error 010: invalid function or declaration C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1178) : error 010: invalid function or declaration C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1183) : error 010: invalid function or declaration C:\Users\Nestor\Desktop\Alci's IMG Editor 1.5 (www.mods-gtasa.blogspot.com)\Server\gamemodes\prueba.pwn(1190) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 17 Errors.