SA-MP Forums Archive
[AYUDA]alguien me explica por k ....... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: [AYUDA]alguien me explica por k ....... (/showthread.php?tid=492652)



Solucionado. - AntonyFC - 04.02.2014

alguien me puede explicar por k no vale esto?

pawn Код:
if(dialogid == 22)
{
if(response)
{
if(listitem == 0)

AddVehicleComponent(GetPlayerVehicleID(playerid),1009);
}
if(listitem == 1)

AddVehicleComponent(GetPlayerVehicleID(playerid),1008);
}
if(listitem == 2)

AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
}
no me da errores pero al entrar y seleccionar no da nada


Respuesta: [AYUDA]alguien me explica por k ....... - Caja_negra - 04.02.2014

Emmm, te diste cuenta que te faltan llaves? "{", ningъn IF tiene su llave de abertura xD, revisa eso y dime si te funciono.


Respuesta: [AYUDA]alguien me explica por k ....... - AntonyFC - 04.02.2014

Quote:
Originally Posted by Caja_negra
Посмотреть сообщение
Emmm, te diste cuenta que te faltan llaves? "{", ningъn IF tiene su llave de abertura xD, revisa eso y dime si te funciono.
Si me fijen en eso pero cuando pongo las llaves "{"
me tiran mas errores
pawn Код:
if(dialogid == 22)
{
if(response)
{
if(listitem == 0)
{
AddVehicleComponent(GetPlayerVehicleID(playerid),1009);
}
if(listitem == 1)
{
AddVehicleComponent(GetPlayerVehicleID(playerid),1008);
}
if(listitem == 2)
{
AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
}



Respuesta: [AYUDA]alguien me explica por k ....... - Porta0123 - 04.02.2014

pon los errores que te da al compliar con "{"


Respuesta: [AYUDA]alguien me explica por k ....... - AntonyFC - 04.02.2014

Solucionado.
Me di cuenta que puse una "{" mal .