SA-MP Forums Archive
Textdraw problem! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Textdraw problem! (/showthread.php?tid=565753)



Textdraw problem! - nastasescu - 01.03.2015

After ID 79 any player textdraw won't show!
TextDrawCreate works perfectly, i made a debug and all works fine.
The problem is with textdrawshowforplayer or textdrawsetstring.
ID 99: http://i.imgur.com/Z5PkOYe.png
ID 75: http://i.imgur.com/bM9AnCr.jpg


Re: Textdraw problem! - ATGOggy - 01.03.2015

Show code


AW: Textdraw problem! - Nero_3D - 01.03.2015

You are talking about the stars ? For that you only need 7 global textdraws

1) all 6 black stars
2) 1 yellow star
3..7) 2..6 yellow stars

If that works for playerid 0 it works for everyone

No need to create for each player an textdraw, even if you did you should use CreatePlayerTextDraw for player based textdraws otherwise you will easily hit the global limit of 2048


Re: AW: Textdraw problem! - De4dpOol - 01.03.2015

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
You are talking about the stars ?
I think he is talking about player name under minimap.


Re: Textdraw problem! - BeesSi - 01.03.2015

Show us some code.


Re: Textdraw problem! - nastasescu - 01.03.2015

Create on OnGamemodeInit:
Код:
for(new i=0; i < MAX_PLAYERS; i++)
{
Nickanmess[i] = TextDrawCreate(35.500000, 425.0000, " ");
TextDrawLetterSize(Nickanmess[i], 0.302399, 1.121244);
TextDrawColor(Nickanmess[i], 0x456FCFFF);
TextDrawSetShadow(Nickanmess[i], 1);
TextDrawSetOutline(Nickanmess[i], 0);
TextDrawFont(Nickanmess[i], 1);
}
Textdrawsetstring on a 1000ms timer:
Код:
for(new i=0; i < MAX_PLAYERS; i++)
{
	TextDrawSetString(Nickanmess[i], GetName(i));
	TextDrawShowForPlayer(i, Nickanmess[i]);
}



Re: Textdraw problem! - duteba - 01.03.2015

Try this:
Quote:

for(new i=0; i < MAX_PLAYERS; i++)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
TextDrawSetString(Nickanmess[i], name);
TextDrawShowForPlayer(i, Nickanmess[i]);
}

Tell me if this work.


Re: Textdraw problem! - nastasescu - 01.03.2015

Quote:
Originally Posted by duteba
Посмотреть сообщение
Try this:

Tell me if this work.
Absolutely don't work for every player textdraw, after ID 79 works just normal textdraws


Re : Textdraw problem! - ReD_HunTeR - 01.03.2015

why dont u just use this:

pawn Код:
public OnPlayerConnect(playerid)
{
        new namess[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));
    TextDrawSetString(Nickanmess[playerid], namess);
    TextDrawShowForPlayer(playerid, Nickanmess[playerid]);
        return 1;
}
instead this

pawn Код:
for(new i=0; i < MAX_PLAYERS; i++)
{
    TextDrawSetString(Nickanmess[i], GetName(i));
    TextDrawShowForPlayer(i, Nickanmess[i]);
}



Re: Re : Textdraw problem! - nastasescu - 01.03.2015

Quote:
Originally Posted by ReD_HunTeR
Посмотреть сообщение
why dont u just use this:

pawn Код:
public OnPlayerConnect(playerid)
{
        new namess[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));
    TextDrawSetString(Nickanmess[playerid], namess);
    TextDrawShowForPlayer(playerid, Nickanmess[playerid]);
        return 1;
}
instead this

pawn Код:
for(new i=0; i < MAX_PLAYERS; i++)
{
    TextDrawSetString(Nickanmess[i], GetName(i));
    TextDrawShowForPlayer(i, Nickanmess[i]);
}
Still won't work.
OngamemodeInit debug:
Код:
[18:10:04] DEBUG OnGamemodeInit: 0
[18:10:04] DEBUG OnGamemodeInit: 1
[18:10:04] DEBUG OnGamemodeInit: 2
[18:10:04] DEBUG OnGamemodeInit: 3
[18:10:04] DEBUG OnGamemodeInit: 4
[18:10:04] DEBUG OnGamemodeInit: 5
[18:10:04] DEBUG OnGamemodeInit: 6
[18:10:04] DEBUG OnGamemodeInit: 7
[18:10:04] DEBUG OnGamemodeInit: 8
[18:10:04] DEBUG OnGamemodeInit: 9
[18:10:04] DEBUG OnGamemodeInit: 10
[18:10:04] DEBUG OnGamemodeInit: 11
[18:10:04] DEBUG OnGamemodeInit: 12
[18:10:04] DEBUG OnGamemodeInit: 13
[18:10:04] DEBUG OnGamemodeInit: 14
[18:10:04] DEBUG OnGamemodeInit: 15
[18:10:04] DEBUG OnGamemodeInit: 16
[18:10:04] DEBUG OnGamemodeInit: 17
[18:10:04] DEBUG OnGamemodeInit: 18
[18:10:04] DEBUG OnGamemodeInit: 19
[18:10:04] DEBUG OnGamemodeInit: 20
[18:10:04] DEBUG OnGamemodeInit: 21
[18:10:04] DEBUG OnGamemodeInit: 22
[18:10:04] DEBUG OnGamemodeInit: 23
[18:10:04] DEBUG OnGamemodeInit: 24
[18:10:04] DEBUG OnGamemodeInit: 25
[18:10:04] DEBUG OnGamemodeInit: 26
[18:10:04] DEBUG OnGamemodeInit: 27
[18:10:04] DEBUG OnGamemodeInit: 28
[18:10:04] DEBUG OnGamemodeInit: 29
[18:10:04] DEBUG OnGamemodeInit: 30
[18:10:04] DEBUG OnGamemodeInit: 31
[18:10:04] DEBUG OnGamemodeInit: 32
[18:10:04] DEBUG OnGamemodeInit: 33
[18:10:04] DEBUG OnGamemodeInit: 34
[18:10:04] DEBUG OnGamemodeInit: 35
[18:10:04] DEBUG OnGamemodeInit: 36
[18:10:04] DEBUG OnGamemodeInit: 37
[18:10:04] DEBUG OnGamemodeInit: 38
[18:10:04] DEBUG OnGamemodeInit: 39
[18:10:04] DEBUG OnGamemodeInit: 40
[18:10:04] DEBUG OnGamemodeInit: 41
[18:10:04] DEBUG OnGamemodeInit: 42
[18:10:04] DEBUG OnGamemodeInit: 43
[18:10:04] DEBUG OnGamemodeInit: 44
[18:10:04] DEBUG OnGamemodeInit: 45
[18:10:04] DEBUG OnGamemodeInit: 46
[18:10:04] DEBUG OnGamemodeInit: 47
[18:10:04] DEBUG OnGamemodeInit: 48
[18:10:04] DEBUG OnGamemodeInit: 49
[18:10:04] DEBUG OnGamemodeInit: 50
[18:10:04] DEBUG OnGamemodeInit: 51
[18:10:04] DEBUG OnGamemodeInit: 52
[18:10:04] DEBUG OnGamemodeInit: 53
[18:10:04] DEBUG OnGamemodeInit: 54
[18:10:04] DEBUG OnGamemodeInit: 55
[18:10:04] DEBUG OnGamemodeInit: 56
[18:10:04] DEBUG OnGamemodeInit: 57
[18:10:04] DEBUG OnGamemodeInit: 58
[18:10:04] DEBUG OnGamemodeInit: 59
[18:10:04] DEBUG OnGamemodeInit: 60
[18:10:04] DEBUG OnGamemodeInit: 61
[18:10:04] DEBUG OnGamemodeInit: 62
[18:10:04] DEBUG OnGamemodeInit: 63
[18:10:04] DEBUG OnGamemodeInit: 64
[18:10:04] DEBUG OnGamemodeInit: 65
[18:10:04] DEBUG OnGamemodeInit: 66
[18:10:04] DEBUG OnGamemodeInit: 67
[18:10:04] DEBUG OnGamemodeInit: 68
[18:10:04] DEBUG OnGamemodeInit: 69
[18:10:04] DEBUG OnGamemodeInit: 70
[18:10:04] DEBUG OnGamemodeInit: 71
[18:10:04] DEBUG OnGamemodeInit: 72
[18:10:04] DEBUG OnGamemodeInit: 73
[18:10:04] DEBUG OnGamemodeInit: 74
[18:10:04] DEBUG OnGamemodeInit: 75
[18:10:04] DEBUG OnGamemodeInit: 76
[18:10:04] DEBUG OnGamemodeInit: 77
[18:10:04] DEBUG OnGamemodeInit: 78
[18:10:04] DEBUG OnGamemodeInit: 79
[18:10:04] DEBUG OnGamemodeInit: 80
[18:10:04] DEBUG OnGamemodeInit: 81
[18:10:04] DEBUG OnGamemodeInit: 82
[18:10:04] DEBUG OnGamemodeInit: 83
[18:10:04] DEBUG OnGamemodeInit: 84
[18:10:04] DEBUG OnGamemodeInit: 85
[18:10:04] DEBUG OnGamemodeInit: 86
[18:10:04] DEBUG OnGamemodeInit: 87
[18:10:04] DEBUG OnGamemodeInit: 88
[18:10:04] DEBUG OnGamemodeInit: 89
[18:10:04] DEBUG OnGamemodeInit: 90
[18:10:04] DEBUG OnGamemodeInit: 91
[18:10:04] DEBUG OnGamemodeInit: 92
[18:10:04] DEBUG OnGamemodeInit: 93
[18:10:04] DEBUG OnGamemodeInit: 94
[18:10:04] DEBUG OnGamemodeInit: 95
[18:10:04] DEBUG OnGamemodeInit: 96
[18:10:04] DEBUG OnGamemodeInit: 97
[18:10:04] DEBUG OnGamemodeInit: 98
[18:10:04] DEBUG OnGamemodeInit: 99
[18:10:04] DEBUG OnGamemodeInit: 100
[18:10:04] DEBUG OnGamemodeInit: 101
[18:10:04] DEBUG OnGamemodeInit: 102
[18:10:04] DEBUG OnGamemodeInit: 103
[18:10:04] DEBUG OnGamemodeInit: 104
[18:10:04] DEBUG OnGamemodeInit: 105
[18:10:04] DEBUG OnGamemodeInit: 106
[18:10:04] DEBUG OnGamemodeInit: 107
[18:10:04] DEBUG OnGamemodeInit: 108
[18:10:04] DEBUG OnGamemodeInit: 109
[18:10:04] DEBUG OnGamemodeInit: 110
[18:10:04] DEBUG OnGamemodeInit: 111
[18:10:04] DEBUG OnGamemodeInit: 112
[18:10:04] DEBUG OnGamemodeInit: 113
[18:10:04] DEBUG OnGamemodeInit: 114
[18:10:04] DEBUG OnGamemodeInit: 115
[18:10:04] DEBUG OnGamemodeInit: 116
[18:10:04] DEBUG OnGamemodeInit: 117
[18:10:04] DEBUG OnGamemodeInit: 118
[18:10:04] DEBUG OnGamemodeInit: 119
[18:10:04] DEBUG OnGamemodeInit: 120
[18:10:04] DEBUG OnGamemodeInit: 121
[18:10:04] DEBUG OnGamemodeInit: 122
[18:10:04] DEBUG OnGamemodeInit: 123
[18:10:04] DEBUG OnGamemodeInit: 124
[18:10:04] DEBUG OnGamemodeInit: 125
[18:10:04] DEBUG OnGamemodeInit: 126
[18:10:04] DEBUG OnGamemodeInit: 127
[18:10:04] DEBUG OnGamemodeInit: 128
[18:10:04] DEBUG OnGamemodeInit: 129
[18:10:04] DEBUG OnGamemodeInit: 130
[18:10:04] DEBUG OnGamemodeInit: 131
[18:10:04] DEBUG OnGamemodeInit: 132
[18:10:04] DEBUG OnGamemodeInit: 133
[18:10:04] DEBUG OnGamemodeInit: 134
[18:10:04] DEBUG OnGamemodeInit: 135
[18:10:04] DEBUG OnGamemodeInit: 136
[18:10:04] DEBUG OnGamemodeInit: 137
[18:10:04] DEBUG OnGamemodeInit: 138
[18:10:04] DEBUG OnGamemodeInit: 139
[18:10:04] DEBUG OnGamemodeInit: 140
[18:10:04] DEBUG OnGamemodeInit: 141
[18:10:04] DEBUG OnGamemodeInit: 142
[18:10:04] DEBUG OnGamemodeInit: 143
[18:10:04] DEBUG OnGamemodeInit: 144
[18:10:04] DEBUG OnGamemodeInit: 145
[18:10:04] DEBUG OnGamemodeInit: 146
[18:10:04] DEBUG OnGamemodeInit: 147
[18:10:04] DEBUG OnGamemodeInit: 148
[18:10:04] DEBUG OnGamemodeInit: 149
[18:10:04] DEBUG OnGamemodeInit: 150
[18:10:04] DEBUG OnGamemodeInit: 151
[18:10:04] DEBUG OnGamemodeInit: 152
[18:10:04] DEBUG OnGamemodeInit: 153
[18:10:04] DEBUG OnGamemodeInit: 154
[18:10:04] DEBUG OnGamemodeInit: 155
[18:10:04] DEBUG OnGamemodeInit: 156
[18:10:04] DEBUG OnGamemodeInit: 157
[18:10:04] DEBUG OnGamemodeInit: 158
[18:10:04] DEBUG OnGamemodeInit: 159
[18:10:04] DEBUG OnGamemodeInit: 160
[18:10:04] DEBUG OnGamemodeInit: 161
[18:10:04] DEBUG OnGamemodeInit: 162
[18:10:04] DEBUG OnGamemodeInit: 163
[18:10:04] DEBUG OnGamemodeInit: 164
[18:10:04] DEBUG OnGamemodeInit: 165
[18:10:04] DEBUG OnGamemodeInit: 166
[18:10:04] DEBUG OnGamemodeInit: 167
[18:10:04] DEBUG OnGamemodeInit: 168
[18:10:04] DEBUG OnGamemodeInit: 169
[18:10:04] DEBUG OnGamemodeInit: 170
[18:10:04] DEBUG OnGamemodeInit: 171
[18:10:04] DEBUG OnGamemodeInit: 172
[18:10:04] DEBUG OnGamemodeInit: 173
[18:10:04] DEBUG OnGamemodeInit: 174
[18:10:04] DEBUG OnGamemodeInit: 175
[18:10:04] DEBUG OnGamemodeInit: 176
[18:10:04] DEBUG OnGamemodeInit: 177
[18:10:04] DEBUG OnGamemodeInit: 178
[18:10:04] DEBUG OnGamemodeInit: 179
[18:10:04] DEBUG OnGamemodeInit: 180
[18:10:04] DEBUG OnGamemodeInit: 181
[18:10:04] DEBUG OnGamemodeInit: 182
[18:10:04] DEBUG OnGamemodeInit: 183
[18:10:04] DEBUG OnGamemodeInit: 184
[18:10:04] DEBUG OnGamemodeInit: 185
[18:10:04] DEBUG OnGamemodeInit: 186
[18:10:04] DEBUG OnGamemodeInit: 187
[18:10:04] DEBUG OnGamemodeInit: 188
[18:10:04] DEBUG OnGamemodeInit: 189
[18:10:04] DEBUG OnGamemodeInit: 190
[18:10:04] DEBUG OnGamemodeInit: 191
[18:10:04] DEBUG OnGamemodeInit: 192
[18:10:04] DEBUG OnGamemodeInit: 193
[18:10:04] DEBUG OnGamemodeInit: 194
[18:10:04] DEBUG OnGamemodeInit: 195
[18:10:04] DEBUG OnGamemodeInit: 196
[18:10:04] DEBUG OnGamemodeInit: 197
[18:10:04] DEBUG OnGamemodeInit: 198
[18:10:04] DEBUG OnGamemodeInit: 199
[18:10:04] DEBUG OnGamemodeInit: 200
[18:10:04] DEBUG OnGamemodeInit: 201
[18:10:04] DEBUG OnGamemodeInit: 202
[18:10:04] DEBUG OnGamemodeInit: 203
[18:10:04] DEBUG OnGamemodeInit: 204
[18:10:04] DEBUG OnGamemodeInit: 205
[18:10:04] DEBUG OnGamemodeInit: 206
[18:10:04] DEBUG OnGamemodeInit: 207
[18:10:04] DEBUG OnGamemodeInit: 208
[18:10:04] DEBUG OnGamemodeInit: 209
[18:10:04] DEBUG OnGamemodeInit: 210
[18:10:04] DEBUG OnGamemodeInit: 211
[18:10:04] DEBUG OnGamemodeInit: 212
[18:10:04] DEBUG OnGamemodeInit: 213
[18:10:04] DEBUG OnGamemodeInit: 214
[18:10:04] DEBUG OnGamemodeInit: 215
[18:10:04] DEBUG OnGamemodeInit: 216
[18:10:04] DEBUG OnGamemodeInit: 217
[18:10:04] DEBUG OnGamemodeInit: 218
[18:10:04] DEBUG OnGamemodeInit: 219
[18:10:04] DEBUG OnGamemodeInit: 220
[18:10:04] DEBUG OnGamemodeInit: 221
[18:10:04] DEBUG OnGamemodeInit: 222
[18:10:04] DEBUG OnGamemodeInit: 223
[18:10:04] DEBUG OnGamemodeInit: 224
[18:10:04] DEBUG OnGamemodeInit: 225
[18:10:04] DEBUG OnGamemodeInit: 226
[18:10:04] DEBUG OnGamemodeInit: 227
[18:10:04] DEBUG OnGamemodeInit: 228
[18:10:04] DEBUG OnGamemodeInit: 229
[18:10:04] DEBUG OnGamemodeInit: 230
[18:10:04] DEBUG OnGamemodeInit: 231
[18:10:04] DEBUG OnGamemodeInit: 232
[18:10:04] DEBUG OnGamemodeInit: 233
[18:10:04] DEBUG OnGamemodeInit: 234
[18:10:04] DEBUG OnGamemodeInit: 235
[18:10:04] DEBUG OnGamemodeInit: 236
[18:10:04] DEBUG OnGamemodeInit: 237
[18:10:04] DEBUG OnGamemodeInit: 238
[18:10:04] DEBUG OnGamemodeInit: 239
[18:10:04] DEBUG OnGamemodeInit: 240
[18:10:04] DEBUG OnGamemodeInit: 241
[18:10:04] DEBUG OnGamemodeInit: 242
[18:10:04] DEBUG OnGamemodeInit: 243
[18:10:04] DEBUG OnGamemodeInit: 244
[18:10:04] DEBUG OnGamemodeInit: 245
[18:10:04] DEBUG OnGamemodeInit: 246
[18:10:04] DEBUG OnGamemodeInit: 247
[18:10:04] DEBUG OnGamemodeInit: 248
[18:10:04] DEBUG OnGamemodeInit: 249
[18:10:04] DEBUG OnGamemodeInit: 250
[18:10:04] DEBUG OnGamemodeInit: 251
[18:10:04] DEBUG OnGamemodeInit: 252
[18:10:04] DEBUG OnGamemodeInit: 253
[18:10:04] DEBUG OnGamemodeInit: 254
[18:10:04] DEBUG OnGamemodeInit: 255
[18:10:04] DEBUG OnGamemodeInit: 256
[18:10:04] DEBUG OnGamemodeInit: 257
[18:10:04] DEBUG OnGamemodeInit: 258
[18:10:04] DEBUG OnGamemodeInit: 259
[18:10:04] DEBUG OnGamemodeInit: 260
[18:10:04] DEBUG OnGamemodeInit: 261
[18:10:04] DEBUG OnGamemodeInit: 262
[18:10:04] DEBUG OnGamemodeInit: 263
[18:10:04] DEBUG OnGamemodeInit: 264
[18:10:04] DEBUG OnGamemodeInit: 265
[18:10:04] DEBUG OnGamemodeInit: 266
[18:10:04] DEBUG OnGamemodeInit: 267
[18:10:04] DEBUG OnGamemodeInit: 268
[18:10:04] DEBUG OnGamemodeInit: 269
[18:10:04] DEBUG OnGamemodeInit: 270
[18:10:04] DEBUG OnGamemodeInit: 271
[18:10:04] DEBUG OnGamemodeInit: 272
[18:10:04] DEBUG OnGamemodeInit: 273
[18:10:04] DEBUG OnGamemodeInit: 274
[18:10:04] DEBUG OnGamemodeInit: 275
[18:10:04] DEBUG OnGamemodeInit: 276
[18:10:04] DEBUG OnGamemodeInit: 277
[18:10:04] DEBUG OnGamemodeInit: 278
[18:10:04] DEBUG OnGamemodeInit: 279
[18:10:04] DEBUG OnGamemodeInit: 280
[18:10:04] DEBUG OnGamemodeInit: 281
[18:10:04] DEBUG OnGamemodeInit: 282
[18:10:04] DEBUG OnGamemodeInit: 283
[18:10:04] DEBUG OnGamemodeInit: 284
[18:10:04] DEBUG OnGamemodeInit: 285
[18:10:04] DEBUG OnGamemodeInit: 286
[18:10:04] DEBUG OnGamemodeInit: 287
[18:10:04] DEBUG OnGamemodeInit: 288
[18:10:04] DEBUG OnGamemodeInit: 289
[18:10:04] DEBUG OnGamemodeInit: 290
[18:10:04] DEBUG OnGamemodeInit: 291
[18:10:04] DEBUG OnGamemodeInit: 292
[18:10:04] DEBUG OnGamemodeInit: 293
[18:10:04] DEBUG OnGamemodeInit: 294
[18:10:04] DEBUG OnGamemodeInit: 295
[18:10:04] DEBUG OnGamemodeInit: 296
[18:10:04] DEBUG OnGamemodeInit: 297
[18:10:04] DEBUG OnGamemodeInit: 298
[18:10:04] DEBUG OnGamemodeInit: 299
[18:10:04] DEBUG OnGamemodeInit: 300
[18:10:04] DEBUG OnGamemodeInit: 301
[18:10:04] DEBUG OnGamemodeInit: 302
[18:10:04] DEBUG OnGamemodeInit: 303
[18:10:04] DEBUG OnGamemodeInit: 304
[18:10:04] DEBUG OnGamemodeInit: 305
[18:10:04] DEBUG OnGamemodeInit: 306
[18:10:04] DEBUG OnGamemodeInit: 307
[18:10:04] DEBUG OnGamemodeInit: 308
[18:10:04] DEBUG OnGamemodeInit: 309
[18:10:04] DEBUG OnGamemodeInit: 310
[18:10:04] DEBUG OnGamemodeInit: 311
[18:10:04] DEBUG OnGamemodeInit: 312
[18:10:04] DEBUG OnGamemodeInit: 313
[18:10:04] DEBUG OnGamemodeInit: 314
[18:10:04] DEBUG OnGamemodeInit: 315
[18:10:04] DEBUG OnGamemodeInit: 316
[18:10:04] DEBUG OnGamemodeInit: 317
[18:10:04] DEBUG OnGamemodeInit: 318
[18:10:04] DEBUG OnGamemodeInit: 319
[18:10:04] DEBUG OnGamemodeInit: 320
[18:10:04] DEBUG OnGamemodeInit: 321
[18:10:04] DEBUG OnGamemodeInit: 322
[18:10:04] DEBUG OnGamemodeInit: 323
[18:10:04] DEBUG OnGamemodeInit: 324
[18:10:04] DEBUG OnGamemodeInit: 325
[18:10:04] DEBUG OnGamemodeInit: 326
[18:10:04] DEBUG OnGamemodeInit: 327
[18:10:04] DEBUG OnGamemodeInit: 328
[18:10:04] DEBUG OnGamemodeInit: 329
[18:10:04] DEBUG OnGamemodeInit: 330
[18:10:04] DEBUG OnGamemodeInit: 331
[18:10:04] DEBUG OnGamemodeInit: 332
[18:10:04] DEBUG OnGamemodeInit: 333
[18:10:04] DEBUG OnGamemodeInit: 334
[18:10:04] DEBUG OnGamemodeInit: 335
[18:10:04] DEBUG OnGamemodeInit: 336
[18:10:04] DEBUG OnGamemodeInit: 337
[18:10:04] DEBUG OnGamemodeInit: 338
[18:10:04] DEBUG OnGamemodeInit: 339
[18:10:04] DEBUG OnGamemodeInit: 340
[18:10:04] DEBUG OnGamemodeInit: 341
[18:10:04] DEBUG OnGamemodeInit: 342
[18:10:04] DEBUG OnGamemodeInit: 343
[18:10:04] DEBUG OnGamemodeInit: 344
[18:10:04] DEBUG OnGamemodeInit: 345
[18:10:04] DEBUG OnGamemodeInit: 346
[18:10:04] DEBUG OnGamemodeInit: 347
[18:10:04] DEBUG OnGamemodeInit: 348
[18:10:04] DEBUG OnGamemodeInit: 349
[18:10:04] DEBUG OnGamemodeInit: 350
[18:10:04] DEBUG OnGamemodeInit: 351
[18:10:04] DEBUG OnGamemodeInit: 352
[18:10:04] DEBUG OnGamemodeInit: 353
[18:10:04] DEBUG OnGamemodeInit: 354
[18:10:04] DEBUG OnGamemodeInit: 355
[18:10:04] DEBUG OnGamemodeInit: 356
[18:10:04] DEBUG OnGamemodeInit: 357
[18:10:04] DEBUG OnGamemodeInit: 358
[18:10:04] DEBUG OnGamemodeInit: 359
[18:10:04] DEBUG OnGamemodeInit: 360
[18:10:04] DEBUG OnGamemodeInit: 361
[18:10:04] DEBUG OnGamemodeInit: 362
[18:10:04] DEBUG OnGamemodeInit: 363
[18:10:04] DEBUG OnGamemodeInit: 364
[18:10:04] DEBUG OnGamemodeInit: 365
[18:10:04] DEBUG OnGamemodeInit: 366
[18:10:04] DEBUG OnGamemodeInit: 367
[18:10:04] DEBUG OnGamemodeInit: 368
[18:10:04] DEBUG OnGamemodeInit: 369
[18:10:04] DEBUG OnGamemodeInit: 370
[18:10:04] DEBUG OnGamemodeInit: 371
[18:10:04] DEBUG OnGamemodeInit: 372
[18:10:04] DEBUG OnGamemodeInit: 373
[18:10:04] DEBUG OnGamemodeInit: 374
[18:10:04] DEBUG OnGamemodeInit: 375
[18:10:04] DEBUG OnGamemodeInit: 376
[18:10:04] DEBUG OnGamemodeInit: 377
[18:10:04] DEBUG OnGamemodeInit: 378
[18:10:04] DEBUG OnGamemodeInit: 379
[18:10:04] DEBUG OnGamemodeInit: 380
[18:10:04] DEBUG OnGamemodeInit: 381
[18:10:04] DEBUG OnGamemodeInit: 382
[18:10:04] DEBUG OnGamemodeInit: 383
[18:10:04] DEBUG OnGamemodeInit: 384
[18:10:04] DEBUG OnGamemodeInit: 385
[18:10:04] DEBUG OnGamemodeInit: 386
[18:10:04] DEBUG OnGamemodeInit: 387
[18:10:04] DEBUG OnGamemodeInit: 388
[18:10:04] DEBUG OnGamemodeInit: 389
[18:10:04] DEBUG OnGamemodeInit: 390
[18:10:04] DEBUG OnGamemodeInit: 391
[18:10:04] DEBUG OnGamemodeInit: 392
[18:10:04] DEBUG OnGamemodeInit: 393
[18:10:04] DEBUG OnGamemodeInit: 394
[18:10:04] DEBUG OnGamemodeInit: 395
[18:10:04] DEBUG OnGamemodeInit: 396
[18:10:04] DEBUG OnGamemodeInit: 397
[18:10:04] DEBUG OnGamemodeInit: 398
[18:10:04] DEBUG OnGamemodeInit: 399
[18:10:04] DEBUG OnGamemodeInit: 400
[18:10:04] DEBUG OnGamemodeInit: 401
[18:10:04] DEBUG OnGamemodeInit: 402
[18:10:04] DEBUG OnGamemodeInit: 403
[18:10:04] DEBUG OnGamemodeInit: 404
[18:10:04] DEBUG OnGamemodeInit: 405
[18:10:04] DEBUG OnGamemodeInit: 406
[18:10:04] DEBUG OnGamemodeInit: 407
[18:10:04] DEBUG OnGamemodeInit: 408
[18:10:04] DEBUG OnGamemodeInit: 409
[18:10:04] DEBUG OnGamemodeInit: 410
[18:10:04] DEBUG OnGamemodeInit: 411
[18:10:04] DEBUG OnGamemodeInit: 412
[18:10:04] DEBUG OnGamemodeInit: 413
[18:10:04] DEBUG OnGamemodeInit: 414
[18:10:04] DEBUG OnGamemodeInit: 415
[18:10:04] DEBUG OnGamemodeInit: 416
[18:10:04] DEBUG OnGamemodeInit: 417
[18:10:04] DEBUG OnGamemodeInit: 418
[18:10:04] DEBUG OnGamemodeInit: 419
[18:10:04] DEBUG OnGamemodeInit: 420
[18:10:04] DEBUG OnGamemodeInit: 421
[18:10:04] DEBUG OnGamemodeInit: 422
[18:10:04] DEBUG OnGamemodeInit: 423
[18:10:04] DEBUG OnGamemodeInit: 424
[18:10:04] DEBUG OnGamemodeInit: 425
[18:10:04] DEBUG OnGamemodeInit: 426
[18:10:04] DEBUG OnGamemodeInit: 427
[18:10:04] DEBUG OnGamemodeInit: 428
[18:10:04] DEBUG OnGamemodeInit: 429
[18:10:04] DEBUG OnGamemodeInit: 430
[18:10:04] DEBUG OnGamemodeInit: 431
[18:10:04] DEBUG OnGamemodeInit: 432
[18:10:04] DEBUG OnGamemodeInit: 433
[18:10:04] DEBUG OnGamemodeInit: 434
[18:10:04] DEBUG OnGamemodeInit: 435
[18:10:04] DEBUG OnGamemodeInit: 436
[18:10:04] DEBUG OnGamemodeInit: 437
[18:10:04] DEBUG OnGamemodeInit: 438
[18:10:04] DEBUG OnGamemodeInit: 439
[18:10:04] DEBUG OnGamemodeInit: 440
[18:10:04] DEBUG OnGamemodeInit: 441
[18:10:04] DEBUG OnGamemodeInit: 442
[18:10:04] DEBUG OnGamemodeInit: 443
[18:10:04] DEBUG OnGamemodeInit: 444
[18:10:04] DEBUG OnGamemodeInit: 445
[18:10:04] DEBUG OnGamemodeInit: 446
[18:10:04] DEBUG OnGamemodeInit: 447
[18:10:04] DEBUG OnGamemodeInit: 448
[18:10:04] DEBUG OnGamemodeInit: 449
[18:10:04] DEBUG OnGamemodeInit: 450
[18:10:04] DEBUG OnGamemodeInit: 451
[18:10:04] DEBUG OnGamemodeInit: 452
[18:10:04] DEBUG OnGamemodeInit: 453
[18:10:04] DEBUG OnGamemodeInit: 454
[18:10:04] DEBUG OnGamemodeInit: 455
[18:10:04] DEBUG OnGamemodeInit: 456
[18:10:04] DEBUG OnGamemodeInit: 457
[18:10:04] DEBUG OnGamemodeInit: 458
[18:10:04] DEBUG OnGamemodeInit: 459
[18:10:04] DEBUG OnGamemodeInit: 460
[18:10:04] DEBUG OnGamemodeInit: 461
[18:10:04] DEBUG OnGamemodeInit: 462
[18:10:04] DEBUG OnGamemodeInit: 463
[18:10:04] DEBUG OnGamemodeInit: 464
[18:10:04] DEBUG OnGamemodeInit: 465
[18:10:04] DEBUG OnGamemodeInit: 466
[18:10:04] DEBUG OnGamemodeInit: 467
[18:10:04] DEBUG OnGamemodeInit: 468
[18:10:04] DEBUG OnGamemodeInit: 469
[18:10:04] DEBUG OnGamemodeInit: 470
[18:10:04] DEBUG OnGamemodeInit: 471
[18:10:04] DEBUG OnGamemodeInit: 472
[18:10:04] DEBUG OnGamemodeInit: 473
[18:10:04] DEBUG OnGamemodeInit: 474
[18:10:04] DEBUG OnGamemodeInit: 475
[18:10:04] DEBUG OnGamemodeInit: 476
[18:10:04] DEBUG OnGamemodeInit: 477
[18:10:04] DEBUG OnGamemodeInit: 478
[18:10:04] DEBUG OnGamemodeInit: 479
[18:10:04] DEBUG OnGamemodeInit: 480
[18:10:04] DEBUG OnGamemodeInit: 481
[18:10:04] DEBUG OnGamemodeInit: 482
[18:10:04] DEBUG OnGamemodeInit: 483
[18:10:04] DEBUG OnGamemodeInit: 484
[18:10:04] DEBUG OnGamemodeInit: 485
[18:10:04] DEBUG OnGamemodeInit: 486
[18:10:04] DEBUG OnGamemodeInit: 487
[18:10:04] DEBUG OnGamemodeInit: 488
[18:10:04] DEBUG OnGamemodeInit: 489
[18:10:04] DEBUG OnGamemodeInit: 490
[18:10:04] DEBUG OnGamemodeInit: 491
[18:10:04] DEBUG OnGamemodeInit: 492
[18:10:04] DEBUG OnGamemodeInit: 493
[18:10:04] DEBUG OnGamemodeInit: 494
[18:10:04] DEBUG OnGamemodeInit: 495
[18:10:04] DEBUG OnGamemodeInit: 496
[18:10:04] DEBUG OnGamemodeInit: 497
[18:10:04] DEBUG OnGamemodeInit: 498
[18:10:04] DEBUG OnGamemodeInit: 499
Code:
pawn Код:
for(new i=0; i < MAX_PLAYERS; i++)
    {
        TimeLeftWar1[i] = TextDrawCreate(640.333251, 309.292602, "usebox");
        TextDrawLetterSize(TimeLeftWar1[i], 0.000000, 5.228189);
        TextDrawTextSize(TimeLeftWar1[i], 469.000000, 0.000000);
        TextDrawAlignment(TimeLeftWar1[i], 1);
        TextDrawColor(TimeLeftWar1[i], 0);
        TextDrawUseBox(TimeLeftWar1[i], true);
        TextDrawBoxColor(TimeLeftWar1[i], 102);
        TextDrawSetShadow(TimeLeftWar1[i], 0);
        TextDrawSetOutline(TimeLeftWar1[i], 0);
        TextDrawFont(TimeLeftWar1[i], 0);
       
        TimeLeftWar2[i] = TextDrawCreate(555.000000, 312.355438, "Turf: 5");
        TextDrawLetterSize(TimeLeftWar2[i], 0.185666, 0.998519);
        TextDrawAlignment(TimeLeftWar2[i], 2);
        TextDrawColor(TimeLeftWar2[i], -1);
        TextDrawSetShadow(TimeLeftWar2[i], 0);
        TextDrawSetOutline(TimeLeftWar2[i], 1);
        TextDrawBackgroundColor(TimeLeftWar2[i], 51);
        TextDrawFont(TimeLeftWar2[i], 1);
        TextDrawSetProportional(TimeLeftWar2[i], 1);
   
        TimeLeftWar3[i] = TextDrawCreate(555.000000, 322.355438, "Faction - Factoion");
        TextDrawLetterSize(TimeLeftWar3[i], 0.185666, 0.998519);
        TextDrawAlignment(TimeLeftWar3[i], 2);
        TextDrawColor(TimeLeftWar3[i], -1);
        TextDrawSetShadow(TimeLeftWar3[i], 0);
        TextDrawSetOutline(TimeLeftWar3[i], 1);
        TextDrawBackgroundColor(TimeLeftWar3[i], 51);
        TextDrawFont(TimeLeftWar3[i], 1);
        TextDrawSetProportional(TimeLeftWar3[i], 1);
       
        TimeLeftWar4[i] = TextDrawCreate(555.000000, 332.355438, "Your score: 0 kills - 0 deaths");
        TextDrawLetterSize(TimeLeftWar4[i], 0.185666, 0.998519);
        TextDrawAlignment(TimeLeftWar4[i], 2);
        TextDrawColor(TimeLeftWar4[i], -1);
        TextDrawSetShadow(TimeLeftWar4[i], 0);
        TextDrawSetOutline(TimeLeftWar4[i], 1);
        TextDrawBackgroundColor(TimeLeftWar4[i], 51);
        TextDrawFont(TimeLeftWar4[i], 1);
        TextDrawSetProportional(TimeLeftWar4[i], 1);   
           
        TimeLeftWar5[i] = TextDrawCreate(555.000000, 342.355438, "Time left: 00:00:00");
        TextDrawLetterSize(TimeLeftWar5[i], 0.185666, 0.998519);
        TextDrawAlignment(TimeLeftWar5[i], 2);
        TextDrawColor(TimeLeftWar5[i], -1);
        TextDrawSetShadow(TimeLeftWar5[i], 0);
        TextDrawSetOutline(TimeLeftWar5[i], 1);
        TextDrawBackgroundColor(TimeLeftWar5[i], 51);
        TextDrawFont(TimeLeftWar5[i], 1);
        TextDrawSetProportional(TimeLeftWar5[i], 1);
           
        Nickanmess[i] = TextDrawCreate(35.500000, 425.0000, " ");
        TextDrawLetterSize(Nickanmess[i], 0.302399, 1.121244);
        TextDrawColor(Nickanmess[i], 0x456FCFFF);
        TextDrawSetShadow(Nickanmess[i], 1);
        TextDrawSetOutline(Nickanmess[i], 0);
        TextDrawFont(Nickanmess[i], 1);
       
        HPTextdraw[i] = TextDrawCreate(575.0000, 66.00000, "86");
        TextDrawLetterSize(HPTextdraw[i], 0.407665, 0.828444);
        TextDrawTextSize(HPTextdraw[i], 10.333332, -33.185184);
        TextDrawAlignment(HPTextdraw[i], 2);
        TextDrawColor(HPTextdraw[i], -1);
        TextDrawSetShadow(HPTextdraw[i], 0);
        TextDrawSetOutline(HPTextdraw[i], 1);
        TextDrawBackgroundColor(HPTextdraw[i], 51);
        TextDrawFont(HPTextdraw[i], 1);
        TextDrawSetProportional(HPTextdraw[i], 1);
       
        ARTextdraw[i] = TextDrawCreate(575.0000, 46.00000, "86");
        TextDrawLetterSize(ARTextdraw[i], 0.407665, 0.828444);
        TextDrawTextSize(ARTextdraw[i], 10.333332, -33.185184);
        TextDrawAlignment(ARTextdraw[i], 2);
        TextDrawColor(ARTextdraw[i], -1);
        TextDrawSetShadow(ARTextdraw[i], 0);
        TextDrawSetOutline(ARTextdraw[i], 1);
        TextDrawBackgroundColor(ARTextdraw[i], 51);
        TextDrawFont(ARTextdraw[i], 1);
        TextDrawSetProportional(ARTextdraw[i], 1);
       
        Fuell[i] = TextDrawCreate(539.599975, 161.777755, " ");
        TextDrawLetterSize(Fuell[i], 0.199999, 1.077333);
        TextDrawColor(Fuell[i], -1);
        TextDrawSetShadow(Fuell[i], 1);
        TextDrawSetOutline(Fuell[i], 1);
        TextDrawFont(Fuell[i], 1);
       
        Speedd[i] = TextDrawCreate(531.599975, 172.231063, " ");
        TextDrawLetterSize(Speedd[i], 0.182000, 1.102222);
        TextDrawColor(Speedd[i], -1);
        TextDrawSetShadow(Speedd[i], 1);
        TextDrawSetOutline(Speedd[i], 1);
        TextDrawFont(Speedd[i], 1);
       
        Odom[i] = TextDrawCreate(524.799987, 183.680023, " ");
        TextDrawLetterSize(Odom[i], 0.182000, 1.102222);
        TextDrawColor(Odom[i], -1);
        TextDrawSetShadow(Odom[i], 1);
        TextDrawSetOutline(Odom[i], 1);
        TextDrawFont(Odom[i], 1);

        reportstext[i] = TextDrawCreate(465.000000, 11.946619, " ");
        TextDrawLetterSize(reportstext[i], 0.252000, 0.903111);
        TextDrawColor(reportstext[i], 0xAA3333FF);
        TextDrawSetShadow(reportstext[i], 1);
        TextDrawSetOutline(reportstext[i], 1);
        TextDrawFont(reportstext[i], 1);
       
        helpstext[i] = TextDrawCreate(480.000000, 11.946619, " ");
        TextDrawLetterSize(helpstext[i], 0.252000, 0.903111);
        TextDrawColor(helpstext[i], 0xECD450FF);
        TextDrawSetShadow(helpstext[i], 1);
        TextDrawSetOutline(helpstext[i], 1);
        TextDrawFont(helpstext[i], 1);

        Rob[i] = TextDrawCreate(278.399932, 196.622268, "Robbing...");
        TextDrawLetterSize(Rob[i], 0.540400, 2.391467);
        TextDrawAlignment(Rob[i], 1);
        TextDrawColor(Rob[i], -971636481);
        TextDrawSetShadow(Rob[i], 0);
        TextDrawSetOutline(Rob[i], 1);
        TextDrawBackgroundColor(Rob[i], 51);
        TextDrawFont(Rob[i], 3);
        TextDrawSetProportional(Rob[i], 1);

        Rob2[i] = TextDrawCreate(641.599975, 173.731109, "usebox");
        TextDrawLetterSize(Rob2[i], 0.000000, 7.260619);
        TextDrawTextSize(Rob2[i], -2.000000, 0.000000);
        TextDrawAlignment(Rob2[i], 1);
        TextDrawColor(Rob2[i], 0);
        TextDrawUseBox(Rob2[i], true);
        TextDrawBoxColor(Rob2[i], 102);
        TextDrawSetShadow(Rob2[i], 0);
        TextDrawSetOutline(Rob2[i], 0);
        TextDrawFont(Rob2[i], 0);

        Jailtime[i] = TextDrawCreate(270.400028, 428.586608, " ");
        TextDrawLetterSize(Jailtime[i], 0.244000, 1.724444);
        TextDrawColor(Jailtime[i], -1);
        TextDrawSetShadow(Jailtime[i], 1);
        TextDrawSetOutline(Jailtime[i], 1);
        TextDrawFont(Jailtime[i], 1);

        Bus1[i] = TextDrawCreate(256.000030, 351.431243, "Please wait a moment...");
        TextDrawLetterSize(Bus1[i], 0.292799, 1.614933);
        TextDrawColor(Bus1[i], -136734721);
        TextDrawSetShadow(Bus1[i], 1);
        TextDrawSetOutline(Bus1[i], 1);
        TextDrawFont(Bus1[i], 1);

        Bus2[i] = TextDrawCreate(270.000030, 364.373382, " ");
        TextDrawLetterSize(Bus2[i], 0.206000, 1.525333);
        TextDrawColor(Bus2[i], -1);
        TextDrawSetShadow(Bus2[i], 1);
        TextDrawSetOutline(Bus2[i], 1);
        TextDrawFont(Bus2[i], 1);

        TextDrawSpec[i][1] = TextDrawCreate(269.000000, 335.000000, " ");
        TextDrawBackgroundColor(TextDrawSpec[i][1], 255);
        TextDrawFont(TextDrawSpec[i][1], 1);
        TextDrawLetterSize(TextDrawSpec[i][1], 0.460000, 1.900000);
        TextDrawColor(TextDrawSpec[i][1], -119841281);
        TextDrawSetOutline(TextDrawSpec[i][1], 1);
        TextDrawSetProportional(TextDrawSpec[i][1], 1);

        TextDrawSpec[i][2] = TextDrawCreate(270.000000, 354.000000, "Health: 0");
        TextDrawBackgroundColor(TextDrawSpec[i][2], 255);
        TextDrawFont(TextDrawSpec[i][2], 1);
        TextDrawLetterSize(TextDrawSpec[i][2], 0.460000, 1.900000);
        TextDrawColor(TextDrawSpec[i][2], -1);
        TextDrawSetOutline(TextDrawSpec[i][2], 1);
        TextDrawSetProportional(TextDrawSpec[i][2], 1);

        TextDrawSpec[i][3] = TextDrawCreate(262.000000, 372.000000, "Vehicle ID: 0");
        TextDrawBackgroundColor(TextDrawSpec[i][3], 255);
        TextDrawFont(TextDrawSpec[i][3], 1);
        TextDrawLetterSize(TextDrawSpec[i][3], 0.460000, 1.900000);
        TextDrawColor(TextDrawSpec[i][3], -1);
        TextDrawSetOutline(TextDrawSpec[i][3], 1);
        TextDrawSetProportional(TextDrawSpec[i][3], 1);

        TextDrawSpec[i][4] = TextDrawCreate(236.000000, 389.000000, "Vehicle Health: 0000");
        TextDrawBackgroundColor(TextDrawSpec[i][4], 255);
        TextDrawFont(TextDrawSpec[i][4], 1);
        TextDrawLetterSize(TextDrawSpec[i][4], 0.460000, 1.900000);
        TextDrawColor(TextDrawSpec[i][4], -1);
        TextDrawSetOutline(TextDrawSpec[i][4], 1);
        TextDrawSetProportional(TextDrawSpec[i][4], 1);

        TextDrawSpec[i][5] = TextDrawCreate(219.000000, 405.000000, "Vehicle Speed: 000 KM/H");
        TextDrawBackgroundColor(TextDrawSpec[i][5], 255);
        TextDrawFont(TextDrawSpec[i][5], 1);
        TextDrawLetterSize(TextDrawSpec[i][5], 0.460000, 1.900000);
        TextDrawColor(TextDrawSpec[i][5], -1);
        TextDrawSetOutline(TextDrawSpec[i][5], 1);
        TextDrawSetProportional(TextDrawSpec[i][5], 1);
       
        Paintball[1][i] = TextDrawCreate(465.599822, 289.706817, "Lead is None with 0 kills.");
        TextDrawLetterSize(Paintball[1][i], 0.275599, 0.918044);
        TextDrawAlignment(Paintball[1][i], 1);
        TextDrawColor(Paintball[1][i], -1);
        TextDrawSetShadow(Paintball[1][i], 0);
        TextDrawSetOutline(Paintball[1][i], 1);
        TextDrawBackgroundColor(Paintball[1][i], 51);
        TextDrawFont(Paintball[1][i], 1);
        TextDrawSetProportional(Paintball[1][i], 1);

        Paintball[2][i] = TextDrawCreate(455.599914, 298.666717, "You have 0 kills and 0 deaths.");
        TextDrawLetterSize(Paintball[2][i], 0.275600, 0.863289);
        TextDrawAlignment(Paintball[2][i], 1);
        TextDrawColor(Paintball[2][i], -1);
        TextDrawSetShadow(Paintball[2][i], 0);
        TextDrawSetOutline(Paintball[2][i], 1);
        TextDrawBackgroundColor(Paintball[2][i], 51);
        TextDrawFont(Paintball[2][i], 1);
        TextDrawSetProportional(Paintball[2][i], 1);

        Paintball[3][i] = TextDrawCreate(484.399963, 280.248931, "Paintball time: 02:00");
        TextDrawLetterSize(Paintball[3][i], 0.233999, 1.052444);
        TextDrawAlignment(Paintball[3][i], 1);
        TextDrawColor(Paintball[3][i], -1);
        TextDrawSetShadow(Paintball[3][i], 0);
        TextDrawSetOutline(Paintball[3][i], 1);
        TextDrawBackgroundColor(Paintball[3][i], 51);
        TextDrawFont(Paintball[3][i], 1);
        TextDrawSetProportional(Paintball[3][i], 1);
        printf("DEBUG OnGamemodeInit: %d", i);
    }