27.03.2018, 09:06
Hey,
So i made something with a Textdraweditor and got some codes, idk where do i need to put them they just don't show up
So this is what i edited from a tutorial,
This is how the original looks like
And i got more of the Textdraws but like i said i don't know where i need to put them
So i made something with a Textdraweditor and got some codes, idk where do i need to put them they just don't show up
So this is what i edited from a tutorial,
Код:
public sekunde() { new string[128]; for(new i=0; i<MAX_PLAYERS; i++) { if(!IsPlayerConnected(i))continue; if(!IsPlayerInAnyVehicle(i))continue; format(string,sizeof(string),"%ikm/h", getPlayerSpeed(i)); textdraw_1 = TextDrawCreate(556.000000, 337.000000, "string"); TextDrawFont(textdraw_1, 2); TextDrawLetterSize(textdraw_1, 0.429166, 2.049999); TextDrawTextSize(textdraw_1, 400.000000, 17.000000); TextDrawSetOutline(textdraw_1, 1); TextDrawSetShadow(textdraw_1, 0); TextDrawAlignment(textdraw_1, 1); TextDrawColor(textdraw_1, 1296911871); TextDrawBackgroundColor(textdraw_1, 255); TextDrawBoxColor(textdraw_1, 50); TextDrawUseBox(textdraw_1, 0); TextDrawSetProportional(textdraw_1, 1); TextDrawSetSelectable(textdraw_1, 0); } return 1; }
Код:
public sekunde() { new string[128]; for(new i=0; i<MAX_PLAYERS; i++) { if(!IsPlayerConnected(i))continue; if(!IsPlayerInAnyVehicle(i))continue; format(string,sizeof(string),"%ikm/h", getPlayerSpeed(i)); GameTextForPlayer(i, string, 1000, 3); } return 1; }
