Advertisement
Guest User

Untitled

a guest
Mar 14th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. E:\proiecte gm\my gamemode\my gamemode\gamemodes\agb.pwn(4205) : error 017: undefined symbol "name"
  2.  
  3. si asta e linia:
  4.  
  5. case DIALOG_FOOTBALL3: {
  6. if(!response) {
  7. hideDialog(playerid);
  8. deleteBetPVars(playerid);
  9. }
  10. else {
  11. if(GetPlayerMoney(playerid) < strval(inputtext)) return SCM(playerid, -1, "You don't have enough money.");
  12.  
  13. SetPVarInt(playerid, "betMoney", strval(inputtext));
  14. SetPVarInt(playerid, "betPlacedOn", GetPVarInt(playerid, "betAuxPlacedOn"));
  15. Iter_Add(betTeam[GetPVarInt(playerid, "betAuxPlacedOn")], playerid);
  16. GivePlayerMoney(playerid, -strval(inputtext));
  17.  
  18. new string[256];
  19. 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))));
  20. SCM(playerid, COLOR_RED, string);
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement