Quote:
Originally Posted by jackx3rx
pawn Код:
else if(Model[ playerid ] == 400 || 401 || 402 || 404 || 405 || 409 || 410 || 411 || 412 || 413 || 414 || 415 || 416 || 418 || 419 || 420 || 421 || 422 || 423 || 424 || 426 || 429 || 434 || 436 || 438 || 439 || 440 || 441 || 442 || 444 || 445 || 451 || 458 || 459 || 466 || 467 || 470 || 471 || 474 || 475 || 477 || 478 || 479 || 480 || 482 || 483 || 485 || 489 || 490 || 491 || 492 || 494 || 495 || 496 || 498 || 499 || 500 || 502 || 503 || 504 || 505 || 506 || 507 || 508 || 516 || 517 || 518 || 533 || 534 || 535 || 536 || 525 || 526 || 527 || 528 || 529 || 530 || 531 || 540 || 541 || 542 || 543 || 545 || 546 || 547 || 549 || 550 || 551 || 552 || 554 || 555 || 556 || 557 || 558 || 559 || 560 || 561 || 562 || 565 || 566 || 567 || 568 || 572 || 574 || 575 || 576 || 579 || 580 || 582 || 583 || 585 || 587 || 588 || 596 || 597 || 598 || 599 || 600 || 602 || 603 || 604 || 605 || 609)
By the way ^ this is too long, you need to shorten it, try splitting it into two/three so you end up with something like this:
pawn Код:
else if(Model[playerid] == 400 || 401 || 402 || 404 || 405 || 409 || 410) // to about 500 {
} else if(Model[playerid] == 502 || 503 || 504 || 505 || 506 || 507 || 508) // to about 550 {
} else if(Model[playerid] == 551 || 552 || 554) // to the end {
}
Also this line:
pawn Код:
if(PlayerInfo[playerid][CarB] != 1)
.. try changing it to this:
pawn Код:
if(!PlayerInfo[playerid][CarB] == 1)
|
what do u meen change this line ?
Код:
if(PlayerInfo[playerid][CarB] != 1)
if i change it into == it its meens that player have driver license and then he will be kicked
and how him that he is have no driving license , i solve that erorr but its not working not sure why , when i try to get into car nothing happens it just skip it this code