ayuda error
#1

hola me ayudan con este error

error
(9890) : error 014: invalid statement; not in switch
(9890) : warning 215: expression has no effect
(9890) : error 001: expected token: ";", but found ":"
(9890) : error 029: invalid expression, assumed zero
(9890) : fatal error 107: too many error messages on one line[/QUOTE]
code

Quote:

stock GetPlayerFactionInfo(targetid, rank[64], division[64], employer[64])
{
switch (PlayerInfo[targetid][miembro]) // employer/rank/division data is pulled from here
{
case 1:
{
employer = "SAPD";
switch(PlayerInfo[targetid][rango])
{
case 1: rank = "Cadete";
case 2: rank = "Oficial"; // error
case 3: rank = "Detective";
case 4: rank = "Sargento";
case 5: rank = "Teniente";
case 6: rank = "Comandante";
default: rank = "Cadete";

}
division = "Ninguna";
}
default: { employer = "Ninguna"; division = "Ninguna"; rank = "N/A"; }
}
return 1;
}

Reply
#2

coloque esto ' ' y no esto " "
Reply
#3

Quote:
Originally Posted by moura98
Посмотреть сообщение
coloque esto ' ' y no esto " "
no estas mal eso
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)