Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- E:\proiecte gm\my gamemode\my gamemode\gamemodes\agb.pwn(4205) : error 017: undefined symbol "name"
- si asta e linia:
- case DIALOG_FOOTBALL3: {
- if(!response) {
- hideDialog(playerid);
- deleteBetPVars(playerid);
- }
- else {
- if(GetPlayerMoney(playerid) < strval(inputtext)) return SCM(playerid, -1, "You don't have enough money.");
- SetPVarInt(playerid, "betMoney", strval(inputtext));
- SetPVarInt(playerid, "betPlacedOn", GetPVarInt(playerid, "betAuxPlacedOn"));
- Iter_Add(betTeam[GetPVarInt(playerid, "betAuxPlacedOn")], playerid);
- GivePlayerMoney(playerid, -strval(inputtext));
- new string[256];
- format(string, 256, "(-) You've placed a bet on %s of $%s. Your possible winnings: $%s.", matchVariables[GetPVarInt(playerid, "betPlacedOn")][name], FormatNumber(strval(inputtext)), FormatNumber(floatround(GetPVarFloat(playerid, "betPossibleWin")*strval(inputtext))));
- SCM(playerid, COLOR_RED, string);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement