12.01.2013, 22:34
Hi im having a problem with this code, can you please help me?
Im getting this error on the code
Im getting this error on the code
Код:
C:\Users\vMikkelReimer\Desktop\Samp stuff for 0,3d June-May2012\Samp crap 2012\gf_jan12.pwn(32054) : error 029: invalid expression, assumed zero
Код:
This is the line with the error: GiveMoney(playerid, += DropInfo[i][dAmount][0];
Код:
else if(DropInfo[i][dType] == 7) //Money
{
ApplyAnimation(playerid, "BOMBER","BOM_Plant_In",4.0,0,0,0,0,0);
format(string,sizeof(string),"* %s picks up $%d dollars.",Name(playerid),DropInfo[i][dAmount]);
ProxDetector(30.0,playerid,string,COLOR_RED,COLOR_RED,COLOR_RED,COLOR_RED,COLOR_RED);
PlayerInfo[playerid][pCash] += DropInfo[i][dAmount][0];
GiveMoney(playerid, += DropInfo[i][dAmount][0];
DropInfo[i][dAmount][0] = 0;
DropInfo[i][dType] = 0;
DestroyObject(DropObject[i]);
}
return 1;
}

