12.12.2009, 19:31
Hello, can anyone help me with text draw. Here is mine, but when I enter that vehicle it is not showing:
It is not showing, anyone know why?
Thanks!
Код:
if(gTeam[playerid] == TEAM_ATTACKERS && vehicleid == OBJECTIVE_VEHICLE_ATTACKERS) { // It's the objective vehicle format (string, sizeof(string), "%s is now delivering food truck back to base.", playername); text = TextDrawCreate(23.000000,150.000000, string); TextDrawUseBox(text,1); TextDrawBoxColor(text,0x00000099); TextDrawTextSize(text,236.000000,-38.000000); TextDrawAlignment(text,0); TextDrawBackgroundColor(text,0x000000ff); TextDrawFont(text,1); TextDrawLetterSize(text,0.699999,2.300002); TextDrawColor(text,0xffffffff); TextDrawSetOutline(text,1); TextDrawSetProportional(text,1); TextDrawSetShadow(text,1); TextDrawShowForAll(text); SetTimer ("Remove", 3000, false);
Thanks!