26.08.2014, 18:39
Hola estoy eliminando facciones pero me salio este error:
Pero no se que eliminar acб:
Solo esta linea?
O todo esto?
Edito lo de arriba lo solucione pero ahora me sale un erro con el case:
Linea: 45416 completa:
el case 1 es la 45416
Код:
(40177) : error 017: undefined symbol "Team_FBI"
Solo esta linea?
Код:
else if(Team_FBI(playerid)){
Код:
else if(Team_FBI(playerid)){
TogglePlayerControllable(suspect, 0);
TextDrawShowForPlayer(suspect, box);
TextDrawShowForPlayer(suspect, streamer);
SetPVarInt(suspect, "LoadingObjects", 1);
SetTimerEx("SafeLoadObjects", 4000, 0, "d", suspect);
SetPlayerInterior(suspect, 1);
Info[suspect][pVW] = 600;
Info[suspect][pInt] = 1;
SetPlayerVirtualWorld(suspect, 600);
SetPlayerPos(suspect,302.3835,-1451.5314,-33.5242);
if(Info[suspect][pVIP] >= 2)
{
Info[suspect][pJailTime] = ((time*60)*75)/100;
}
else
{
Info[suspect][pJailTime] = time * 60;
}
Info[suspect][pJailed] = 3;
PhoneOnline[suspect] = 1;
DeletePVar(suspect, "IsFrozen");
Info[suspect][pArrested] += 1;
Info[suspect][pWantedLevel] = 0;
SetPlayerWantedLevel(suspect, 0);
ClearAnimations(suspect);
ApplyAnimation(suspect, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 1);
Info[suspect][pEstado] = 0;
DeletePVar(suspect, "PlayerCuffed");
PlayerCuffedTime[suspect] = 0;
}
}//distance
}//not connected
else return SendClientMessageEx(playerid, COLOR_GREY, " No hay nadie cerca tuyo.");
}
else SendClientMessageEx(playerid, COLOR_GREY, " No eres de las fuerzas de la ley!");
return 1;
}
Код:
(45416) : error 014: invalid statement; not in switch (45416) : warning 215: expression has no effect (45416) : error 001: expected token: ";", but found ":" (45416) : error 029: invalid expression, assumed zero (45416) : fatal error 107: too many error messages on one line
Код:
case 1:
{
SendClientMessageEx(playerid, COLOR_YELLOW, "Ayuda - Chat");
SendClientMessageEx(playerid, COLOR_WHITE, "Comandos DP: (/g)ritar (/s)usurar /y /p /r");
SendClientMessageEx(playerid, COLOR_WHITE, "Comandos FP: /b /w /f /r");
}

