if(GetPlayerCoins(playerid, 1) == 1)//error line
stock GetPlayerCoins(playerid,amount) { if (PlayerInfo[playerid][pCoins] < amount) { return 0; } return 1; }