25.11.2013, 21:31
Qnd isso й adicionado
Da esses erros
E essas sгo as linhas com erros
Isso й uma das unicas coisas q eu n to conseguindo consertar
pawn Код:
if (gPlayerTerminal[playerid] == 2)
{
if (IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == 2)
{
switch(gPlayerTerminal[playerid])
{
case 1:
{
SetPlayerCheckpoint(playerid,3057.1824,-1106.7277,0.1267, 5.0);
SetTimerEx("busstoptimer", 10000, false, "i", playerid);
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros.");
}
case 2:
{
SetPlayerCheckpoint(playerid,3104.5378,-1430.8774,0.0305, 5.0);
SetTimerEx("busstoptimer", 10000, false, "i", playerid);
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros.");
}
case 3:
{
SetPlayerCheckpoint(playerid,3010.3384,-2050.9111,0.3503, 5.0);
SetTimerEx("busstoptimer", 10000, false, "i", playerid);
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros.");
}
case 4:
{
SetPlayerCheckpoint(playerid,3088.6575,-2058.3447,0.1430, 5.0);
SetTimerEx("busstoptimer", 10000, false, "i", playerid);
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros.");
}
case 5:
{
SetPlayerCheckpoint(playerid,3133.3762,-1648.9094,0.4455, 5.0);
SetTimerEx("busstoptimer", 10000, false, "i", playerid);
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros.");
}
case 6:
{
SetPlayerCheckpoint(playerid,3221.7302,-1449.7368,-0.2551, 5.0);
SetTimerEx("busstoptimer", 10000, false, "i", playerid);
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros.");
}
case 7:
{
SetPlayerCheckpoint(playerid,3253.5100,-1316.6145,-0.1479, 5.0);
SetTimerEx("busstoptimer", 10000, false, "i", playerid);
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros.");
}
case 8:
{
SetPlayerCheckpoint(playerid,3230.3428,-1086.6702,0.5183, 5.0);
SetTimerEx("busstoptimer", 10000, false, "i", playerid);
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros.");
}
case 9:
{
SetPlayerCheckpoint(playerid,3119.9966,-815.8932,-0.1494, 5.0);
SetTimerEx("busstoptimer", 10000, false, "i", playerid);
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros.");
}
case 10:
{
SetPlayerCheckpoint(playerid,3077.6621,-740.9439,0.4551, 5.0);
SetTimerEx("busstoptimer", 10000, false, "i", playerid);
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros.");
}
case 11:
{
SetPlayerCheckpoint(playerid,3057.6277,-795.7910,-0.3434, 5.0);
SetTimerEx("busstoptimer", 10000, false, "i", playerid);
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros.");
}
case 12:
{
SetPlayerCheckpoint(playerid,3080.1938,-845.4276,-0.2364, 5.0);
SetTimerEx("busstoptimer", 10000, false, "i", playerid);
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros.");
}
case 13:
{
//new conta = gPlayerTerminal[playerid]*700;
format(gstring, 128, "Vocк completou a rota do фnibus, use /terminais para iniciar novamente a rota.");
SendClientMessage(playerid, COLOR_YELLOW, gstring);
SendClientMessage(playerid, COLOR_YELLOW, "Use /sair para sair do фnibus.");
BusrouteEnd(playerid);
}
}
gPlayerTerminal[playerid]++;
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
return 1;
}
}
DisablePlayerCheckpoint(playerid);
return 1;
}
pawn Код:
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18760) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18762) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18764) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18766) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18773) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18780) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18787) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18794) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18801) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18808) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18815) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18822) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18829) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18836) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18843) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18850) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18853) : error 021: symbol already defined: "format"
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18857) : error 054: unmatched closing brace ("}")
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18861) : error 010: invalid function or declaration
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18865) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
20 Errors.
E essas sгo as linhas com erros
pawn Код:
(18559) : if (gPlayerTerminal[playerid] == 2)
(18561) : if (IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == 2)
(18563) : switch(gPlayerTerminal[playerid])
(18565) : case 1:
(18572) : case 2:
(18579) : case 3:
(18586) : case 4:
(18593) : case 5:
(18600) : case 6:
(18607) : case 7:
(18614) : case 8:
(18621) : case 9:
(18628) : case 10:
(18635) : case 11:
(18642) : case 12:
(18649) : case 13:
(18652) : format(gstring, 128, "Vocк completou a rota do фnibus, use /terminais para iniciar novamente a rota.");
(18656) : }
(18660) : return 1;
(18664) : return 1;