- 0
Problema script
-
Similar Content
-
- 0 replies
- 149 views
-
- 3 replies
- 466 views
-
Problema turf
By Soryn.,
- 2 answers
- 208 views
-
- 1 reply
- 166 views
-
Problema
By ImJustSlim,
- 3 answers
- 278 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
AndreiADV
Am vrut sa fac un PayDay pe textdraw si imi da errorile acestea!
:error 028: invalid subscript (not an array or too many subscripts): "PayDayTD"
: error 001: expected token: ";", but found "]"
: fatal error 107: too many error messages on one line
Mai jos va las ce am facut pentru textdraw!
1.Am facut acest timer
SetTimer("hidePayday", 15000, false);
function hidePayday() {
forach(Player, i) {
if(IsPlayerConnected(i) && gPlayerLogged[i] == 1) PlayerTextDrawHide(i, PayDayTD);
}
return true;}
2.Mai sus in function PayDay()
format(string, sizeof(string), "PayDay~n~Ore Jucate: +%0.2f~n~PayCheck: $%s~n~Bank: $%s~n~Taxe: $%s~n~PayDay", PlayerInfo[i][pPayDay] / 3600.0, FormatNumber(paycheck), FormatNumber(PlayerInfo[i][pAccount]), FormatNumber(TaxValue), Float: PlayerInfo[i][pConnectTime]);
PlayerTextDrawSetString(playerid, PayDayTD, string);
PlayerTextDrawShow(playerid, PayDayTD);
3.Mai sus pe la inceputul GM la-am definit!
new PlayerText: PayDayTD
Si acum nu inteleg care este problema! Ma puteti ajuta?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.