CMD:getpizza(playerid, params[]) { if (PlayerInfo[playerid][pJob] != 21 && PlayerInfo[playerid][pJob2] != 21) { SendClientMessageEx(playerid,COLOR_GREY," You are not a Pizza Boy!"); return 1; } if(PlayerInfo[playerid][pTired] == 0) { return SendClientMessageEx(playerid, COLOR_YELLOW, "Kamu sudah terlalu lelah! Tidur atau beristirahatlah!"); } new vehicleid = GetPlayerVehicleID(playerid); if(!(IsAPizzaCar(vehicleid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)) { SendClientMessageEx(playerid,COLOR_GREY," You need to be driving a pizzaboy found at the side of the Pizza Stack!"); return 1; } if(!(GetPlayerSkin(playerid) == 155)) { SendClientMessageEx(playerid,COLOR_GREY," You need to be in the Pizza Stack uniform!"); return 1; } new playername[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername, sizeof(playername)); if (!IsPlayerInRangeOfPoint(playerid, 3.0, 2102.155, -1782.591, 12.946)) { SendClientMessageEx(playerid,COLOR_GREY," You are not at the Pizza Stack pickup!"); return 1; } // if(PlayerInfo[playerid][pEnergy] == 0) // { // return SendClientMessageEx(playerid, COLOR_YELLOW, "Anda sudah bekerja cukup lama hari ini, istirahatlah dulu!"); // }*/ if(GetPVarInt(playerid, "Pizza") > 0) { SendClientMessageEx(playerid, COLOR_GREY, " You are already delivering pizzas!"); return 1; } new rand = random(MAX_HOUSES - 1); while(!(HouseInfo[rand][hExteriorZ] <= 100 && HouseInfo[rand][hExteriorX] > 0 && HouseInfo[rand][hExteriorX] < 3000 && HouseInfo[rand][hExteriorY] < -500 && HouseInfo[rand][hExteriorY] > -3000)) { rand++; if(rand == 1400) { rand = 1; } } SetPVarInt(playerid, "tpPizzaTimer", floatround((GetPizzaDistance(rand) / 80), floatround_round)); SetPVarInt(playerid, "pizzaTotal", floatround((GetPizzaDistance(rand) / 10), floatround_round)); SetPVarInt(playerid, "pizzaTimer", GetPVarInt(playerid, "pizzaTotal")); SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_TPPIZZARUNTIMER); SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_PIZZATIMER); new szMessage[128]; format(szMessage, sizeof(szMessage), "You have picked up a pizza for %s. You have %d seconds to deliver it!", HouseInfo[rand][hOwner], GetPVarInt(playerid, "pizzaTotal")); SendClientMessageEx(playerid, COLOR_WHITE, szMessage); SetPVarInt(playerid, "Pizza", rand); PizzaBar[playerid] = CreateProgressBar(258.00, 137.00, 131.50, 3.19, COLOR_GREEN, 100.0); SetProgressBarValue(PizzaBar[playerid], 100.0); ShowProgressBarForPlayer(playerid, PizzaBar[playerid]); SetPlayerCheckpoint(playerid, HouseInfo[rand][hExteriorX], HouseInfo[rand][hExteriorY], HouseInfo[rand][hExteriorZ], 5); return 1; }
CMD:getpizza(playerid, params[])
{
if (PlayerInfo[playerid][pJob] != 21 && PlayerInfo[playerid][pJob2] != 21) return SendClientMessageEx(playerid,COLOR_GREY," You are not a Pizza Boy!");
if(PlayerInfo[playerid][pTired] == 0) return SendClientMessageEx(playerid, COLOR_YELLOW, "Kamu sudah terlalu lelah! Tidur atau beristirahatlah!");
new vehicleid = GetPlayerVehicleID(playerid);
print("Reached 1");
if(!(IsAPizzaCar(vehicleid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) return SendClientMessageEx(playerid,COLOR_GREY," You need to be driving a pizzaboy found at the side of the Pizza Stack!");
if(!(GetPlayerSkin(playerid) == 155)) return SendClientMessageEx(playerid,COLOR_GREY," You need to be in the Pizza Stack uniform!");
new playername[MAX_PLAYER_NAME];
print("Reached 2");
GetPlayerName(playerid, playername, sizeof(playername));
if (!IsPlayerInRangeOfPoint(playerid, 10.0, 2102.155, -1782.591, 12.946)) return SendClientMessageEx(playerid,COLOR_GREY," You are not at the Pizza Stack pickup!");
// if(PlayerInfo[playerid][pEnergy] == 0)
// {
// return SendClientMessageEx(playerid, COLOR_YELLOW, "Anda sudah bekerja cukup lama hari ini, istirahatlah dulu!");
// }*/
print("Reached 3");
if(GetPVarInt(playerid, "Pizza") > 0) return SendClientMessageEx(playerid, COLOR_GREY, " You are already delivering pizzas!");
new rand = random(MAX_HOUSES - 1);
print("Reached 4");
while(!(HouseInfo[rand][hExteriorZ] <= 100 && HouseInfo[rand][hExteriorX] > 0 && HouseInfo[rand][hExteriorX] < 3000 && HouseInfo[rand][hExteriorY] < -500 && HouseInfo[rand][hExteriorY] > -3000))
{
print("Reached 5");
rand++;
if(rand == 1400) rand = 1;
}
print("Reached 6");
SetPVarInt(playerid, "tpPizzaTimer", floatround((GetPizzaDistance(rand) / 80), floatround_round));
SetPVarInt(playerid, "pizzaTotal", floatround((GetPizzaDistance(rand) / 10), floatround_round));
SetPVarInt(playerid, "pizzaTimer", GetPVarInt(playerid, "pizzaTotal"));
SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_TPPIZZARUNTIMER);
SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_PIZZATIMER);
print("Reached 7");
new szMessage[128];
format(szMessage, sizeof(szMessage), "You have picked up a pizza for %s. You have %d seconds to deliver it!", HouseInfo[rand][hOwner], GetPVarInt(playerid, "pizzaTotal"));
SendClientMessageEx(playerid, COLOR_WHITE, szMessage);
SetPVarInt(playerid, "Pizza", rand);
print("Reached 8");
PizzaBar[playerid] = CreateProgressBar(258.00, 137.00, 131.50, 3.19, COLOR_GREEN, 100.0);
SetProgressBarValue(PizzaBar[playerid], 100.0);
ShowProgressBarForPlayer(playerid, PizzaBar[playerid]);
print("Reached 9");
SetPlayerCheckpoint(playerid, HouseInfo[rand][hExteriorX], HouseInfo[rand][hExteriorY], HouseInfo[rand][hExteriorZ], 5);
print("Reached 10");
return 1;
}
Try this code.
When you type /getpizza, look in your server's console and let me know what the reached number is. EG: "reached 6". pawn Код:
|
D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(755) : warning 215: expression has no effect D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(4157) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack") D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(5734) : warning 202: number of arguments does not match definition D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(5734) : warning 202: number of arguments does not match definition D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(5734) : warning 202: number of arguments does not match definition D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(72931) : error 001: expected token: ")", but found "return" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
CMD:getpizza(playerid, params[])
{
if (PlayerInfo[playerid][pJob] != 21 && PlayerInfo[playerid][pJob2] != 21)
{
SendClientMessageEx(playerid,COLOR_GREY," You are not a Pizza Boy!");
return 1;
}
if(PlayerInfo[playerid][pTired] == 0)
{
return SendClientMessageEx(playerid, COLOR_YELLOW, "Kamu sudah terlalu lelah! Tidur atau beristirahatlah!");
}
print("reached 1");
new vehicleid = GetPlayerVehicleID(playerid);
if(!(IsAPizzaCar(vehicleid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER))
{
SendClientMessageEx(playerid,COLOR_GREY," You need to be driving a pizzaboy found at the side of the Pizza Stack!");
return 1;
}
print("reached 2");
if(!(GetPlayerSkin(playerid) == 155))
{
SendClientMessageEx(playerid,COLOR_GREY," You need to be in the Pizza Stack uniform!");
return 1;
}
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
print("reached 3");
if (!IsPlayerInRangeOfPoint(playerid, 3.0, 2102.155, -1782.591, 12.946))
{
print("reached 4");
SendClientMessageEx(playerid,COLOR_GREY," You are not at the Pizza Stack pickup!");
return 1;
}
// if(PlayerInfo[playerid][pEnergy] == 0)
// {
// return SendClientMessageEx(playerid, COLOR_YELLOW, "Anda sudah bekerja cukup lama hari ini, istirahatlah dulu!");
// }*/
print("reached 5");
if(GetPVarInt(playerid, "Pizza") > 0)
{
SendClientMessageEx(playerid, COLOR_GREY, " You are already delivering pizzas!");
return 1;
}
new rand = random(MAX_HOUSES - 1);
while(!(HouseInfo[rand][hExteriorZ] <= 100 && HouseInfo[rand][hExteriorX] > 0 && HouseInfo[rand][hExteriorX] < 3000 && HouseInfo[rand][hExteriorY] < -500 && HouseInfo[rand][hExteriorY] > -3000))
{
print("reached 6");
rand++;
if(rand == 1400) {
rand = 1;
}
}
SetPVarInt(playerid, "tpPizzaTimer", floatround((GetPizzaDistance(rand) / 80), floatround_round));
SetPVarInt(playerid, "pizzaTotal", floatround((GetPizzaDistance(rand) / 10), floatround_round));
print("reached 6");
SetPVarInt(playerid, "pizzaTimer", GetPVarInt(playerid, "pizzaTotal"));
SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_TPPIZZARUNTIMER);
SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_PIZZATIMER);
new szMessage[128];
print("reached 7");
format(szMessage, sizeof(szMessage), "You have picked up a pizza for %s. You have %d seconds to deliver it!", HouseInfo[rand][hOwner], GetPVarInt(playerid, "pizzaTotal"));
SendClientMessageEx(playerid, COLOR_WHITE, szMessage);
SetPVarInt(playerid, "Pizza", rand);
print("reached 8");
PizzaBar[playerid] = CreateProgressBar(258.00, 137.00, 131.50, 3.19, COLOR_GREEN, 100.0);
SetProgressBarValue(PizzaBar[playerid], 100.0);
print("reached 9");
ShowProgressBarForPlayer(playerid, PizzaBar[playerid]);
SetPlayerCheckpoint(playerid, HouseInfo[rand][hExteriorX], HouseInfo[rand][hExteriorY], HouseInfo[rand][hExteriorZ], 5);
print("reached 10");
return 1;
}
Float:GetPizzaDistance(houseid)
{
new Float: pDistance;
pDistance = GetDistance(2102.1433,-1782.5947,12.9912,355.7883,3,6, HouseInfo[houseid][hExteriorX], HouseInfo[houseid][hExteriorY], HouseInfo[houseid][hExteriorZ]);
return pDistance;
}
[02:45:40] [zcmd] [Mahfud Steven]: /getpizza [02:45:40] reached 1 [02:45:40] reached 2 [02:45:40] reached 3 [02:45:40] reached 5 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6 [02:45:40] reached 6
CMD:getpizza(playerid, params[])
{
if (PlayerInfo[playerid][pJob] != 21 && PlayerInfo[playerid][pJob2] != 21)
{
SendClientMessageEx(playerid,COLOR_GREY," You are not a Pizza Boy!");
return 1;
}
if(PlayerInfo[playerid][pTired] == 0)
{
return SendClientMessageEx(playerid, COLOR_YELLOW, "Kamu sudah terlalu lelah! Tidur atau beristirahatlah!");
}
print("reached 1");
new vehicleid = GetPlayerVehicleID(playerid);
if(!(IsAPizzaCar(vehicleid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER))
{
SendClientMessageEx(playerid,COLOR_GREY," You need to be driving a pizzaboy found at the side of the Pizza Stack!");
return 1;
}
print("reached 2");
if(!(GetPlayerSkin(playerid) == 155))
{
SendClientMessageEx(playerid,COLOR_GREY," You need to be in the Pizza Stack uniform!");
return 1;
}
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
print("reached 3");
if (!IsPlayerInRangeOfPoint(playerid, 3.0, 2102.155, -1782.591, 12.946))
{
print("reached 4");
SendClientMessageEx(playerid,COLOR_GREY," You are not at the Pizza Stack pickup!");
return 1;
}
// if(PlayerInfo[playerid][pEnergy] == 0)
// {
// return SendClientMessageEx(playerid, COLOR_YELLOW, "Anda sudah bekerja cukup lama hari ini, istirahatlah dulu!");
// }*/
print("reached 5");
if(GetPVarInt(playerid, "Pizza") > 0)
{
SendClientMessageEx(playerid, COLOR_GREY, " You are already delivering pizzas!");
return 1;
}
new rand = random(MAX_HOUSES - 1);
if(HouseInfo[rand][hExteriorZ] <= 100 && HouseInfo[rand][hExteriorX] > 0 && HouseInfo[rand][hExteriorX] < 3000 && HouseInfo[rand][hExteriorY] < -500 && HouseInfo[rand][hExteriorY] > -3000)
{
SetPVarInt(playerid, "tpPizzaTimer", floatround((GetPizzaDistance(rand) / 80), floatround_round));
SetPVarInt(playerid, "pizzaTotal", floatround((GetPizzaDistance(rand) / 10), floatround_round));
print("reached 6");
SetPVarInt(playerid, "pizzaTimer", GetPVarInt(playerid, "pizzaTotal"));
SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_TPPIZZARUNTIMER);
SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_PIZZATIMER);
new szMessage[128];
print("reached 7");
format(szMessage, sizeof(szMessage), "You have picked up a pizza for %s. You have %d seconds to deliver it!", HouseInfo[rand][hOwner], GetPVarInt(playerid, "pizzaTotal"));
SendClientMessageEx(playerid, COLOR_WHITE, szMessage);
SetPVarInt(playerid, "Pizza", rand);
print("reached 8");
PizzaBar[playerid] = CreateProgressBar(258.00, 137.00, 131.50, 3.19, COLOR_GREEN, 100.0);
SetProgressBarValue(PizzaBar[playerid], 100.0);
print("reached 9");
ShowProgressBarForPlayer(playerid, PizzaBar[playerid]);
SetPlayerCheckpoint(playerid, HouseInfo[rand][hExteriorX], HouseInfo[rand][hExteriorY], HouseInfo[rand][hExteriorZ], 5);
print("reached 10");
}
return 1;
}
Try this:
Code:
CMD:getpizza(playerid, params[]) { if (PlayerInfo[playerid][pJob] != 21 && PlayerInfo[playerid][pJob2] != 21) { SendClientMessageEx(playerid,COLOR_GREY," You are not a Pizza Boy!"); return 1; } if(PlayerInfo[playerid][pTired] == 0) { return SendClientMessageEx(playerid, COLOR_YELLOW, "Kamu sudah terlalu lelah! Tidur atau beristirahatlah!"); } print("reached 1"); new vehicleid = GetPlayerVehicleID(playerid); if(!(IsAPizzaCar(vehicleid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)) { SendClientMessageEx(playerid,COLOR_GREY," You need to be driving a pizzaboy found at the side of the Pizza Stack!"); return 1; } print("reached 2"); if(!(GetPlayerSkin(playerid) == 155)) { SendClientMessageEx(playerid,COLOR_GREY," You need to be in the Pizza Stack uniform!"); return 1; } new playername[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername, sizeof(playername)); print("reached 3"); if (!IsPlayerInRangeOfPoint(playerid, 3.0, 2102.155, -1782.591, 12.946)) { print("reached 4"); SendClientMessageEx(playerid,COLOR_GREY," You are not at the Pizza Stack pickup!"); return 1; } // if(PlayerInfo[playerid][pEnergy] == 0) // { // return SendClientMessageEx(playerid, COLOR_YELLOW, "Anda sudah bekerja cukup lama hari ini, istirahatlah dulu!"); // }*/ print("reached 5"); if(GetPVarInt(playerid, "Pizza") > 0) { SendClientMessageEx(playerid, COLOR_GREY, " You are already delivering pizzas!"); return 1; } new rand = random(MAX_HOUSES - 1); if(HouseInfo[rand][hExteriorZ] <= 100 && HouseInfo[rand][hExteriorX] > 0 && HouseInfo[rand][hExteriorX] < 3000 && HouseInfo[rand][hExteriorY] < -500 && HouseInfo[rand][hExteriorY] > -3000) { SetPVarInt(playerid, "tpPizzaTimer", floatround((GetPizzaDistance(rand) / 80), floatround_round)); SetPVarInt(playerid, "pizzaTotal", floatround((GetPizzaDistance(rand) / 10), floatround_round)); print("reached 6"); SetPVarInt(playerid, "pizzaTimer", GetPVarInt(playerid, "pizzaTotal")); SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_TPPIZZARUNTIMER); SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_PIZZATIMER); new szMessage[128]; print("reached 7"); format(szMessage, sizeof(szMessage), "You have picked up a pizza for %s. You have %d seconds to deliver it!", HouseInfo[rand][hOwner], GetPVarInt(playerid, "pizzaTotal")); SendClientMessageEx(playerid, COLOR_WHITE, szMessage); SetPVarInt(playerid, "Pizza", rand); print("reached 8"); PizzaBar[playerid] = CreateProgressBar(258.00, 137.00, 131.50, 3.19, COLOR_GREEN, 100.0); SetProgressBarValue(PizzaBar[playerid], 100.0); print("reached 9"); ShowProgressBarForPlayer(playerid, PizzaBar[playerid]); SetPlayerCheckpoint(playerid, HouseInfo[rand][hExteriorX], HouseInfo[rand][hExteriorY], HouseInfo[rand][hExteriorZ], 5); print("reached 10"); } return 1; } |
D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(755) : warning 215: expression has no effect D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3425) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3432) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3439) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3448) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3462) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3469) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3473) : error 017: undefined symbol "GivePlayerCash" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3476) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3483) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3491) : error 017: undefined symbol "GivePlayerCash" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3494) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3501) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3508) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3522) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3531) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3543) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3562) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3576) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3590) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3598) : error 017: undefined symbol "GivePlayerCash" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3603) : error 017: undefined symbol "ProxDetector" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3724) : error 017: undefined symbol "GivePlayerCash" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3847) : error 017: undefined symbol "GivePlayerCash" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3848) : error 017: undefined symbol "GivePlayerCash" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
#define GivePlayerCash GivePlayerMoney public ProxDetector(Float:radi, playerid, string[],colour1,colour2,colour3,colour4,colour5) { if(IsPlayerConnected(playerid)) { new Float:posx, Float:posy, Float:posz; new Float:oldposx, Float:oldposy, Float:oldposz; new Float:tempposx, Float:tempposy, Float:tempposz; GetPlayerPos(playerid, oldposx, oldposy, oldposz); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { GetPlayerPos(i, posx, posy, posz); tempposx = (oldposx -posx); tempposy = (oldposy -posy); tempposz = (oldposz -posz); new playerworld, player2world; playerworld = GetPlayerVirtualWorld(playerid); player2world = GetPlayerVirtualWorld(i); if(playerworld == player2world) { if (((tempposx < radi/16) && (tempposx > -radi/16)) && ((tempposy < radi/16) && (tempposy > -radi/16)) && ((tempposz < radi/16) && (tempposz > -radi/16))) { SCM(i, colour1, string); } else if (((tempposx < radi/8) && (tempposx > -radi/8)) && ((tempposy < radi/8) && (tempposy > -radi/8)) && ((tempposz < radi/8) && (tempposz > -radi/8))) { SCM(i, colour2, string); } else if (((tempposx < radi/4) && (tempposx > -radi/4)) && ((tempposy < radi/4) && (tempposy > -radi/4)) && ((tempposz < radi/4) && (tempposz > -radi/4))) { SCM(i, colour3, string); } else if (((tempposx < radi/2) && (tempposx > -radi/2)) && ((tempposy < radi/2) && (tempposy > -radi/2)) && ((tempposz < radi/2) && (tempposz > -radi/2))) { SCM(i, colour4, string); } else if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) { SCM(i, colour5, string); } } else { SCM(i, colour1, string); } } } } return 1; }
D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3427) : error 012: invalid function call, not a valid address D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3427) : warning 215: expression has no effect D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3427) : warning 215: expression has no effect D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3427) : warning 215: expression has no effect D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3427) : warning 215: expression has no effect D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3427) : warning 215: expression has no effect D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3427) : warning 215: expression has no effect D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3427) : warning 215: expression has no effect D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3427) : warning 215: expression has no effect D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3427) : error 001: expected token: ";", but found ")" D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3427) : error 029: invalid expression, assumed zero D:\Game\Rockstar Game\Server\GOGS\gamemodes\SBRP.pwn(3427) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.