Jump to content
  • 0

Question

Posted

Salut, vreau sa va rog daca ma puteti ajuta cu aceste erori. M-am chinuit 3 ore non-stop sau mai mult sa le rezolv, degeaba. Multumesc tuturor.

Erori: C:\Users\Raul\Downloads\Gamemode (1)\Gamemode\Gamemode\gamemodes\BigZoneGM.pwn(18869 -- 18870) : error 001: expected token: ",", but found "~"
C:\Users\Raul\Downloads\Gamemode (1)\Gamemode\Gamemode\gamemodes\BigZoneGM.pwn(18870) : warning 215: expression has no effect
C:\Users\Raul\Downloads\Gamemode (1)\Gamemode\Gamemode\gamemodes\BigZoneGM.pwn(18870) : error 001: expected token: ";", but found ")"
C:\Users\Raul\Downloads\Gamemode (1)\Gamemode\Gamemode\gamemodes\BigZoneGM.pwn(18870) : error 029: invalid expression, assumed zero
C:\Users\Raul\Downloads\Gamemode (1)\Gamemode\Gamemode\gamemodes\BigZoneGM.pwn(18870) : fatal error 107: too many error messages on one line

cod:                 format(string3, sizeof(string3), "PAYDAY~n~Played time: +%0.2f~n~Paycheck: $%s~n~Bank: $%s~n~Tax: $%s~n~Rent: $%s~n~Total money: $%d", PlayerInfo[pPayDay]/3600, FormatNumber(checks), FormatNumber(PlayerInfo[pAccount]),
                FormatNumber(TaxValue), FormatNumber(rent), checks~TaxValue);
                PlayerTextDrawSetString(i, PaydayTD, string3);
                PlayerTextDrawShow(i, PaydayTD);

 

Va rog mult sa ma ajutati, multumesc all

3 answers to this question

Recommended Posts

  • 1
Posted
1 hour ago, NuamNume said:

FormatNumber(rent), checks~TaxValue);

"~" nu are ce sa caute acolo.. 

incearca asa:

 

format(string3, sizeof(string3), "PAYDAY~n~Played time: +%0.2f~n~Paycheck: $%s~n~Bank: $%s~n~Tax: $%s~n~Rent: $%s~n~Total money: $%d", PlayerInfo[pPayDay]/3600, FormatNumber(checks), FormatNumber(PlayerInfo[pAccount]), FormatNumber(TaxValue), FormatNumber(rent), checks-TaxValue);

 

 

 

  • Thanks 1
  • 0
Posted (edited)
1 hour ago, Gigel said:

"~" nu are ce sa caute acolo.. 

incearca asa:

 


format(string3, sizeof(string3), "PAYDAY~n~Played time: +%0.2f~n~Paycheck: $%s~n~Bank: $%s~n~Tax: $%s~n~Rent: $%s~n~Total money: $%d", PlayerInfo[pPayDay]/3600, FormatNumber(checks), FormatNumber(PlayerInfo[pAccount]), FormatNumber(TaxValue), FormatNumber(rent), checks-TaxValue);

 

 

 

Multumesc din tot sufletul, mai am doar o eroare.

error 035: argument type mismatch (argument 1)

Ma poti ajuta? Stiu ca cer mult dar mna...

Edited by NuamNume
greseli gramaticale

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.