Pawn erorr
#1

we added this part to my gamemode :


if (strcmp("/detonatebomb", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid,0);
return 1;
}
new Float:X,Float:Y,Float:Z;
if(DetonateBomb[playerid] == 1)
{
new SVID = SecurityVanID[playerid];
GetVehiclePos(SVID, X,Y,Z);
CreateExplosion(X, Y, Z, 7, 10);
SetVehicleHealth(SVID, 350);
SVBeingRobbed[SVID] = 1;
DetonateBomb[playerid] = 0;
MoneyLeft[SVID] = 5;
SendClientMessage(playerid, -1,"The bomb went off, fill the bags and get out of here![/fillbags]");
}
else return SendClientMessage(playerid, -1,"You don't have a bomb planted anywhere.");
return 1;
}
if (strcmp("/fillbags", cmdtext, true, 10) == 0)
{
new ClosestCar = GetClosestCar(playerid);
if(BagCounting == 1) return SendClientMessage(playerid, -1,"You're filling your bags already!");
if(MoneyLeft[ClosestCar] == 0) return SendClientMessage(playerid, -1,"This van is empty!");
if(FullBag[playerid] == 1) return SendClientMessage(playerid, -1,"Your bags are full!");
if(SVBeingRobbed[ClosestCar] == 1)
{
SendClientMessage(playerid, -1,"You're filling your bags with money.");
FBTimer = SetTimerEx("FillingBags",1000,true,"i",playerid);
BagTime = 5;
BagCounting = 1;
MoneyLeft[ClosestCar] -= 1;
//ApplyAnimation
}
else return SendClientMessage(playerid, -1,"This van isn't being robbed.");
return 1;
}

and compiled it i got pawn error " Pawn compiler library has stopped " "a problem caused the the program stop working correctly.please close the program " need help
Reply
#2

just dont click anywhere and wait for it to load and also update includes pawno e.t.c
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)