String misses a letter
#7

A bit off-topic but this shit doesn't work:
pawn Код:
...
    if(GetVehicleModel(vehicleid) == 461 || 462 || 463 || 468 || 471 || 424 || 430 || 448 || 446 || 452 || 457 || 472 || 473 || 481 || 484 || 485 || 486 || 493 || 509 || 510 || 521 || 522 || 523 || 530 || 531 || 539 || 571 || 572 || 581 || 586 || 595)
    {
...
What you do there is:
pawn Код:
if(GetVehicleModel(vehicleid) == 461 || 462 == true || 463 == true || ...)
What you want is:
pawn Код:
...
    switch(GetVehicleModel(vehicleid))
    {
        case 461, 462, 463, 468, 471, 424, 430, 448, 446, 452, 457, 472, 473, 481, 484, 485, 486, 493, 509, 510, 521, 522, 523, 530, 531, 539, 571, 572, 581, 586, 595:
        {
            APlayerData[playerid][Windows] = 2;
        }
    }
...
Also, as someone said, you're not assigning pAccent value in /accent command. Furthermore, I think it is your player saving system that spoils the accent string if it's not /accent.
Reply


Messages In This Thread
String misses a letter - by thimo - 06.01.2012, 18:03
Re: String misses a letter - by Vince - 06.01.2012, 18:05
Re: String misses a letter - by thimo - 06.01.2012, 18:09
Re: String misses a letter - by thimo - 07.01.2012, 09:21
Re: String misses a letter - by Ash. - 07.01.2012, 09:37
Re: String misses a letter - by thimo - 07.01.2012, 10:00
Re: String misses a letter - by CaHbKo - 07.01.2012, 13:19
Re: String misses a letter - by tyler12 - 07.01.2012, 13:30
Re: String misses a letter - by CaHbKo - 07.01.2012, 14:42
Re: String misses a letter - by thimo - 08.01.2012, 18:20

Forum Jump:


Users browsing this thread: 1 Guest(s)