07.01.2012, 13:19
A bit off-topic but this shit doesn't work:
What you do there is:
What you want is:
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.
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)
{
...
pawn Код:
if(GetVehicleModel(vehicleid) == 461 || 462 == true || 463 == true || ...)
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;
}
}
...