15.01.2015, 14:21
Код:
C:\Users\Andrijana\Desktop\COD WAW gamemodes\Untitled.pwn(153) : warning 217: loose indentation C:\Users\Andrijana\Desktop\COD WAW\gamemodes\Untitled.pwn(153) : error 035: argument type mismatch (argument 2) C:\Users\Andrijana\Desktop\COD WAW \gamemodes\Untitled.pwn(154) : error 035: argument type mismatch (argument 2) C:\Users\Andrijana\Desktop\COD WAW \gamemodes\Untitled.pwn(155) : error 035: argument type mismatch (argument 2) C:\Users\Andrijana\Desktop\COD WAW \gamemodes\Untitled.pwn(156) : error 035: argument type mismatch (argument 2) C:\Users\Andrijana\Desktop\COD WAW \gamemodes\Untitled.pwn(157) : error 035: argument type mismatch (argument 2) C:\Users\Andrijana\Desktop\COD WAW \gamemodes\Untitled.pwn(158) : error 035: argument type mismatch (argument 2) C:\Users\Andrijana\Desktop\COD WAW \gamemodes\Untitled.pwn(159) : error 035: argument type mismatch (argument 2) C:\Users\Andrijana\Desktop\COD WAW \gamemodes\Untitled.pwn(160) : error 035: argument type mismatch (argument 2) C:\Users\Andrijana\Desktop\COD WAW \gamemodes\Untitled.pwn(161) : error 035: argument type mismatch (argument 2)
Код:
TextDrawShowForPlayer(playerid, Textdraw0); TextDrawShowForPlayer(playerid, Textdraw1); TextDrawShowForPlayer(playerid, Textdraw2); TextDrawShowForPlayer(playerid, Textdraw3); TextDrawShowForPlayer(playerid, Textdraw4); TextDrawShowForPlayer(playerid, Textdraw5); TextDrawShowForPlayer(playerid, Textdraw6); TextDrawShowForPlayer(playerid, Textdraw7); TextDrawShowForPlayer(playerid, Textdraw8);
Код:
new PlayerText:Textdraw0[MAX_PLAYERS]; new PlayerText:Textdraw1[MAX_PLAYERS]; new PlayerText:Textdraw2[MAX_PLAYERS]; new PlayerText:Textdraw3[MAX_PLAYERS]; new PlayerText:Textdraw4[MAX_PLAYERS]; new PlayerText:Textdraw5[MAX_PLAYERS]; new PlayerText:Textdraw6[MAX_PLAYERS]; new PlayerText:Textdraw7[MAX_PLAYERS]; new PlayerText:Textdraw8[MAX_PLAYERS];
Код:
Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 259.599945, 153.073333, "usebox"); PlayerTextDrawLetterSize(playerid, Textdraw0[playerid], 0.000000, 1.532219); PlayerTextDrawTextSize(playerid, Textdraw0[playerid], 31.599998, 0.000000); PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1); PlayerTextDrawColor(playerid, Textdraw0[playerid], 0); PlayerTextDrawUseBox(playerid, Textdraw0[playerid], true); PlayerTextDrawBoxColor(playerid, Textdraw0[playerid], 102); PlayerTextDrawSetShadow(playerid, Textdraw0[playerid], 0); PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 0); PlayerTextDrawFont(playerid, Textdraw0[playerid], 0);