C:\Users\masi\Desktop\German Midnight Versionen\[GM]\gamemodes\[GM]V9.2.pwn(25731) : error 017: undefined symbol "GivePlayerCash"
new payout = guncharge + ammocharge;
format(infostring, 256, "Du hast eine/n %s mit %d Munition für %d$ gekauft!",gunid,ammo,payout);
SendClientMessage(playerid, COLOR_GRAD3, infostring);
if(location == 102 && IsACop(playerid)) { }
25731 else { GivePlayerCash(playerid, - payout); }
BizzInfo[location-99][bTill] += payout;
ExtortionBiz(location-99, payout);
BizzInfo[location-99][bProducts]--;
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
GivePlayerWeapon(playerid, gun, ammo);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s hat Waffen für %d$ gekauft!", sendername, payout);
printf("%s", string);
PayLog(string);
}
else
{
SendClientMessage(playerid, COLOR_WHITE,"Du bist in keinem Shop.");
return 1;
}
}
return 1;
}
bitte Helfen danke