Compiling Error
#7

Error seems to be somewhere here.

Code:
new string[360];
case 0:
{
format(string, sizeof(string), "* %s takes an item from the %s\'s corpse.", GetName(playerid), cActor[i][cName]);
ProxDetector(8.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
GivePlayerMoney(playerid, cActor[i][Money]);
cActor[i][Money] = 0
}
case 1:
        						{
format(string, sizeof(string), "* %s takes an item from %s\'s corpse.", GetName(playerid), cActor[i][cName]);
ProxDetector(8.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
PlayerInfo[playerid][dLSD] += cActor[i][LSD];
cActor[i][LSD] = 0;
}
case 2:
{
format(string, sizeof(string), "* %s takes an item from %s\'s corpse.", GetName(playerid), cActor[i][cName]);
ProxDetector(8.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
PlayerInfo[playerid][dCocaine] += cActor[i][Cocaine];
cActor[i][Cocaine] = 0;
}
case 3:
{
format(string, sizeof(string), "* %s takes an item from %s\'s corpse.", GetName(playerid), cActor[i][cName]);
ProxDetector(8.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
PlayerInfo[playerid][dMarijuana] += cActor[i][Marijuana];
cActor[i][Marijuana] = 0;
}
case 4:
{
format(string, sizeof(string), "* %s takes an item from %s\'s corpse.", GetName(playerid), cActor[i][cName]);
ProxDetector(8.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
PlayerInfo[playerid][dMeth] += cActor[i][Meth];
cActor[i][Meth] = 0;
}
case 5:
{
format(string, sizeof(string), "* %s takes an item from %s\'s corpse.", GetName(playerid), cActor[i][cName]);
ProxDetector(8.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
PlayerInfo[playerid][Ecstasy] += cActor[i][Ecstasy];
cActor[i][Ecstasy] = 0;
}
case 6:
{
format(string, sizeof(string), "* %s takes an item from %s\'s corpse.", GetName(playerid), cActor[i][cName]);
ProxDetector(8.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
PlayerInfo[playerid][dHeroin] += cActor[i][Heroin];
cActor[i][Heroin] = 0;
}
case 7:
{
format(string, sizeof(string), "* %s takes an item from %s\'s corpse.", GetName(playerid), cActor[i][cName]);
ProxDetector(8.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
PlayerInfo[playerid][dCrack] += cActor[i][dCrack];
cActor[i][dCrack] = 0;
}
Reply


Messages In This Thread
Compiling Error - by NealPeteros - 27.04.2017, 03:45
Re: Compiling Error - by Kane - 27.04.2017, 03:55
Re: Compiling Error - by NealPeteros - 27.04.2017, 04:08
Re: Compiling Error - by Hansrutger - 27.04.2017, 04:10
Re: Compiling Error - by NealPeteros - 27.04.2017, 04:12
Re: Compiling Error - by Kane - 27.04.2017, 04:19
Re: Compiling Error - by NealPeteros - 27.04.2017, 04:24
Re: Compiling Error - by Hansrutger - 27.04.2017, 04:25
Re: Compiling Error - by NealPeteros - 27.04.2017, 04:29
Re: Compiling Error - by Hansrutger - 27.04.2017, 04:34
Re: Compiling Error - by NealPeteros - 27.04.2017, 04:54
Re: Compiling Error - by NealPeteros - 27.04.2017, 05:00

Forum Jump:


Users browsing this thread: 1 Guest(s)