Banka zlato i plata td

Započeo Luka_Deen, Februar 21, 2019, 14:26:18 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): (30988) : error 035: argument type mismatch (argument 2)
(66949) : error 035: argument type mismatch (argument 2)
(66976) : error 035: argument type mismatch (argument 2)

Dio skripte: [ pawn ]PlayerTextDrawShow( playerid, TDEditor_PTD[ playerid ] ); tako sam napravio na par mjesta[ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]E ovako napravio sam tdove ono kao na ZG samo bez expa i toga nego je samo banka zlato i plata e sad neznam kako da prikazem te tdove gdje da stavim to i sta konkretno treba ja sam samo zamjenio sa starim tdovima ove nove i postavio u playertextdraws kako vec god stavio taj TD koji sam napravio u td editoru, ovo se prikaze za banku i ostalo ali nije u textdrawu pa neznam di da stavim, hvala svima na odgovoru[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): link slike

Daj cijeli kod toga i jedan od tih tdova,gdje si ubacio to sve?

new PlayerText:TDEditor_PTD[MAX_PLAYERS][ 11 ];
[pawn]TDEditor_PTD[playerid][0] = CreatePlayerTextDraw(playerid, 496.149444, 102.500007, "box");
   PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][0], 0.000000, 7.235723);
   PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][0], 611.000000, 0.000000);
   PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][0], 1);
   PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][0], -1);
   PlayerTextDrawUseBox(playerid, TDEditor_PTD[playerid][0], 1);
   PlayerTextDrawBoxColor(playerid, TDEditor_PTD[playerid][0], 255);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);
   PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][0], 0);
   PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][0], 255);
   PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][0], 1);
   PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][0], 1);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);

   TDEditor_PTD[playerid][1] = CreatePlayerTextDraw(playerid, 494.575714, 100.750038, "LD_SPAC:white");
   PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][1], 0.000000, 0.000000);
   PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][1], -1.000000, 69.000000);
   PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][1], 1);
   PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][1], -2147483393);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][1], 0);
   PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][1], 0);
   PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][1], 255);
   PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][1], 4);
   PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][1], 0);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][1], 0);

   TDEditor_PTD[playerid][2] = CreatePlayerTextDraw(playerid, 493.638427, 168.999954, "LD_SPAC:white");
   PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][2], 0.000000, 0.000000);
   PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][2], 120.000000, 1.000000);
   PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][2], 1);
   PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][2], -2147483393);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][2], 0);
   PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][2], 0);
   PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][2], 255);
   PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][2], 4);
   PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][2], 0);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][2], 0);

   TDEditor_PTD[playerid][3] = CreatePlayerTextDraw(playerid, 613.111450, 100.166687, "LD_SPAC:white");
   PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][3], 0.000000, 0.000000);
   PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][3], -1.000000, 69.000000);
   PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][3], 1);
   PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][3], -2147483393);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][3], 0);
   PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][3], 0);
   PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][3], 255);
   PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][3], 4);
   PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][3], 0);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][3], 0);

   TDEditor_PTD[playerid][4] = CreatePlayerTextDraw(playerid, 493.638305, 100.750015, "LD_SPAC:white");
   PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][4], 0.000000, 0.000000);
   PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][4], 120.000000, -1.000000);
   PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][4], 1);
   PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][4], -2147483393);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][4], 0);
   PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][4], 0);
   PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][4], 255);
   PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][4], 4);
   PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][4], 0);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][4], 0);

   TDEditor_PTD[playerid][5] = CreatePlayerTextDraw(playerid, 516.127502, 100.166671, "LD_SPAC:white");
   PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][5], 0.000000, 0.000000);
   PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][5], 2.000000, 69.000000);
   PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][5], 1);
   PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][5], -2147483393);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][5], 0);
   PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][5], 0);
   PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][5], 255);
   PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][5], 4);
   PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][5], 0);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][5], 0);

   TDEditor_PTD[playerid][6] = CreatePlayerTextDraw(playerid, 494.106964, 121.750007, "LD_SPAC:white");
   PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][6], 0.000000, 0.000000);
   PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][6], 119.000000, -2.000000);
   PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][6], 1);
   PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][6], -2147483393);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][6], 0);
   PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][6], 0);
   PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][6], 255);
   PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][6], 4);
   PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][6], 0);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][6], 0);

   TDEditor_PTD[playerid][7] = CreatePlayerTextDraw(playerid, 493.638427, 146.249908, "LD_SPAC:white");
   PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][7], 0.000000, 0.000000);
   PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][7], 119.000000, -2.000000);
   PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][7], 1);
   PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][7], -2147483393);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][7], 0);
   PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][7], 0);
   PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][7], 255);
   PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][7], 4);
   PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][7], 0);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][7], 0);

   TDEditor_PTD[playerid][8] = CreatePlayerTextDraw(playerid, 490.927154, 93.166664, "");
   PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][8], 0.000000, 0.000000);
   PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][8], 28.000000, 28.000000);
   PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][8], 1);
   PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][8], -1);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][8], 0);
   PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][8], 0);
   PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][8], 0);
   PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][8], 5);
   PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][8], 0);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][8], 0);
   PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD[playerid][8], 1212);
   PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD[playerid][8], 310.000000, 0.000000, 330.000000, 1.000000);

   TDEditor_PTD[playerid][9] = CreatePlayerTextDraw(playerid, 489.989837, 143.333328, "");
   PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][9], 0.000000, 0.000000);
   PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][9], 28.000000, 28.000000);
   PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][9], 1);
   PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][9], -1);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][9], 0);
   PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][9], 0);
   PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][9], 0);
   PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][9], 5);
   PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][9], 0);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][9], 0);
   PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD[playerid][9], 1210);
   PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD[playerid][9], 310.000000, 0.000000, 330.000000, 1.000000);

   TDEditor_PTD[playerid][10] = CreatePlayerTextDraw(playerid, 491.863708, 116.500000, "");
   PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][10], 0.000000, 0.000000);
   PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][10], 28.000000, 28.000000);
   PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][10], 1);
   PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][10], -1);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][10], 0);
   PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][10], 0);
   PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][10], 0);
   PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][10], 5);
   PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][10], 0);
   PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][10], 0);
   PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD[playerid][10], 19941);
   PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD[playerid][10], 310.000000, 0.000000, 330.000000, 1.000000);

   //
   BankaIgraca[ playerid ] = CreatePlayerTextDraw(playerid, 518.169982, 105.416671, "~w~123345654$");
   PlayerTextDrawLetterSize(playerid, BankaIgraca[ playerid ], 0.353147, 0.964165);
   PlayerTextDrawAlignment(playerid, BankaIgraca[ playerid ], 1);
   PlayerTextDrawColor(playerid, BankaIgraca[ playerid ], -1);
   PlayerTextDrawSetShadow(playerid, BankaIgraca[ playerid ], 0);
   PlayerTextDrawSetOutline(playerid, BankaIgraca[ playerid ], 0);
   PlayerTextDrawBackgroundColor(playerid, BankaIgraca[ playerid ], 255);
   PlayerTextDrawFont(playerid, BankaIgraca[ playerid ], 1);
   PlayerTextDrawSetProportional(playerid, BankaIgraca[ playerid ], 1);
   PlayerTextDrawSetShadow(playerid, BankaIgraca[ playerid ], 0);

   ZlatoIgraca[ playerid ] = CreatePlayerTextDraw(playerid, 520.980834, 125.250015, "~w~0g");
   PlayerTextDrawLetterSize(playerid, ZlatoIgraca[ playerid ], 0.321624, 1.390000);
   PlayerTextDrawAlignment(playerid, ZlatoIgraca[ playerid ], 1);
   PlayerTextDrawColor(playerid, ZlatoIgraca[ playerid ], -1);
   PlayerTextDrawSetShadow(playerid, ZlatoIgraca[ playerid ], 0);
   PlayerTextDrawSetOutline(playerid, ZlatoIgraca[ playerid ], 0);
   PlayerTextDrawBackgroundColor(playerid, ZlatoIgraca[ playerid ], 255);
   PlayerTextDrawFont(playerid, ZlatoIgraca[ playerid ], 1);
   PlayerTextDrawSetProportional(playerid, ZlatoIgraca[ playerid ], 1);
   PlayerTextDrawSetShadow(playerid, ZlatoIgraca[ playerid ], 0);

   PlataIgraca[ playerid ] = CreatePlayerTextDraw(playerid, 519.106689, 150.916641, "~w~123452$");
   PlayerTextDrawLetterSize(playerid, PlataIgraca[ playerid ], 0.328316, 1.302498);
   PlayerTextDrawAlignment(playerid, PlataIgraca[ playerid ], 1);
   PlayerTextDrawColor(playerid, PlataIgraca[ playerid ], -1);
   PlayerTextDrawSetShadow(playerid, PlataIgraca[ playerid ], 0);
   PlayerTextDrawSetOutline(playerid, PlataIgraca[ playerid ], 0);
   PlayerTextDrawBackgroundColor(playerid, PlataIgraca[ playerid ], 255);
   PlayerTextDrawFont(playerid, PlataIgraca[ playerid ], 1);
   PlayerTextDrawSetProportional(playerid, PlataIgraca[ playerid ], 1);
   PlayerTextDrawSetShadow(playerid, PlataIgraca[ playerid ], 0);[/pawn]
OnPlayerSpawn
PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][10]);
eto to je sve