hab mit dini das mit den licen gemacht und so is es bei car: und motorrad^Allso beide aber es funzt net sin d aber 0 errors
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(GetVehicleModel(vehicleid) == 521 || GetVehicleModel(vehicleid) == 522 || GetVehicleModel(vehicleid) == 523 || GetVehicleModel(vehicleid) == 586 || GetVehicleModel(vehicleid) == 581 || GetVehicleModel(vehicleid) == 463 || GetVehicleModel(vehicleid) == 461)
{
if(PlayerInfo[playerid][pBikeLicense] == 0)
{
SendClientMessage(playerid, 0xFFFF89FF, "Du hast keinen Motorrad Schein!"); //ja ich helf dir, mache aber nicht alles^^
RemovePlayerFromVehicle(playerid);
}
}
if(GetVehicleModel(vehicleid) == 400)
if(GetVehicleModel(vehicleid) == 401)
if(GetVehicleModel(vehicleid) == 402)
if(GetVehicleModel(vehicleid) == 404)
if(GetVehicleModel(vehicleid) == 405)
if(GetVehicleModel(vehicleid) == 406)
if(GetVehicleModel(vehicleid) == 407)
if(GetVehicleModel(vehicleid) == 408)
if(GetVehicleModel(vehicleid) == 409)
if(GetVehicleModel(vehicleid) == 410)
if(GetVehicleModel(vehicleid) == 411)
if(GetVehicleModel(vehicleid) == 412)
if(GetVehicleModel(vehicleid) == 413)
if(GetVehicleModel(vehicleid) == 414)
if(GetVehicleModel(vehicleid) == 415)
if(GetVehicleModel(vehicleid) == 416)
if(GetVehicleModel(vehicleid) == 418)
if(GetVehicleModel(vehicleid) == 419)
if(GetVehicleModel(vehicleid) == 420)
if(GetVehicleModel(vehicleid) == 421)
if(GetVehicleModel(vehicleid) == 422)
if(GetVehicleModel(vehicleid) == 423)
if(GetVehicleModel(vehicleid) == 424)
if(GetVehicleModel(vehicleid) == 426)
if(GetVehicleModel(vehicleid) == 427)
if(GetVehicleModel(vehicleid) == 428)
if(GetVehicleModel(vehicleid) == 429)
if(GetVehicleModel(vehicleid) == 431)
if(GetVehicleModel(vehicleid) == 432)
if(GetVehicleModel(vehicleid) == 433)
if(GetVehicleModel(vehicleid) == 434)
if(GetVehicleModel(vehicleid) == 435)
if(GetVehicleModel(vehicleid) == 436)
if(GetVehicleModel(vehicleid) == 437)
if(GetVehicleModel(vehicleid) == 438)
if(GetVehicleModel(vehicleid) == 439)
if(GetVehicleModel(vehicleid) == 440)
if(GetVehicleModel(vehicleid) == 442)
if(GetVehicleModel(vehicleid) == 444)
if(GetVehicleModel(vehicleid) == 445)
if(GetVehicleModel(vehicleid) == 449)
if(GetVehicleModel(vehicleid) == 451)
if(GetVehicleModel(vehicleid) == 453)
if(GetVehicleModel(vehicleid) == 455)
if(GetVehicleModel(vehicleid) == 456)
if(GetVehicleModel(vehicleid) == 457)
if(GetVehicleModel(vehicleid) == 458)
if(GetVehicleModel(vehicleid) == 459)
if(GetVehicleModel(vehicleid) == 466)
if(GetVehicleModel(vehicleid) == 467)
if(GetVehicleModel(vehicleid) == 470)
if(GetVehicleModel(vehicleid) == 471)
if(GetVehicleModel(vehicleid) == 474)
if(GetVehicleModel(vehicleid) == 475)
if(GetVehicleModel(vehicleid) == 477)
if(GetVehicleModel(vehicleid) == 478)
if(GetVehicleModel(vehicleid) == 479)
if(GetVehicleModel(vehicleid) == 480)
if(GetVehicleModel(vehicleid) == 482)
if(GetVehicleModel(vehicleid) == 483)
if(GetVehicleModel(vehicleid) == 485)
if(GetVehicleModel(vehicleid) == 489)
if(GetVehicleModel(vehicleid) == 490)
if(GetVehicleModel(vehicleid) == 491)
if(GetVehicleModel(vehicleid) == 492)
if(GetVehicleModel(vehicleid) == 494)
if(GetVehicleModel(vehicleid) == 495)
if(GetVehicleModel(vehicleid) == 496)
if(GetVehicleModel(vehicleid) == 498)
if(GetVehicleModel(vehicleid) == 499)
if(GetVehicleModel(vehicleid) == 500)
if(GetVehicleModel(vehicleid) == 501)
if(GetVehicleModel(vehicleid) == 502)
if(GetVehicleModel(vehicleid) == 503)
if(GetVehicleModel(vehicleid) == 504)
if(GetVehicleModel(vehicleid) == 505)
if(GetVehicleModel(vehicleid) == 506)
if(GetVehicleModel(vehicleid) == 507)
if(GetVehicleModel(vehicleid) == 508)
if(GetVehicleModel(vehicleid) == 516)
if(GetVehicleModel(vehicleid) == 517)
if(GetVehicleModel(vehicleid) == 518)
if(GetVehicleModel(vehicleid) == 525)
if(GetVehicleModel(vehicleid) == 526)
if(GetVehicleModel(vehicleid) == 527)
if(GetVehicleModel(vehicleid) == 528)
if(GetVehicleModel(vehicleid) == 529)
if(GetVehicleModel(vehicleid) == 530)
if(GetVehicleModel(vehicleid) == 531)
if(GetVehicleModel(vehicleid) == 532)
if(GetVehicleModel(vehicleid) == 533)
if(GetVehicleModel(vehicleid) == 534)
if(GetVehicleModel(vehicleid) == 535)
if(GetVehicleModel(vehicleid) == 536)
if(GetVehicleModel(vehicleid) == 539)
if(GetVehicleModel(vehicleid) == 540)
if(GetVehicleModel(vehicleid) == 541)
if(GetVehicleModel(vehicleid) == 542)
if(GetVehicleModel(vehicleid) == 543)
if(GetVehicleModel(vehicleid) == 544)
if(GetVehicleModel(vehicleid) == 545)
if(GetVehicleModel(vehicleid) == 546)
if(GetVehicleModel(vehicleid) == 547)
if(GetVehicleModel(vehicleid) == 549)
if(GetVehicleModel(vehicleid) == 550)
if(GetVehicleModel(vehicleid) == 551)
if(GetVehicleModel(vehicleid) == 552)
if(GetVehicleModel(vehicleid) == 554)
if(GetVehicleModel(vehicleid) == 555)
if(GetVehicleModel(vehicleid) == 556)
if(GetVehicleModel(vehicleid) == 557)
if(GetVehicleModel(vehicleid) == 558)
if(GetVehicleModel(vehicleid) == 559)
if(GetVehicleModel(vehicleid) == 560)
if(GetVehicleModel(vehicleid) == 561)
if(GetVehicleModel(vehicleid) == 562)
if(GetVehicleModel(vehicleid) == 564)
if(GetVehicleModel(vehicleid) == 565)
if(GetVehicleModel(vehicleid) == 566)
if(GetVehicleModel(vehicleid) == 567)
if(GetVehicleModel(vehicleid) == 568)
if(GetVehicleModel(vehicleid) == 569)
if(GetVehicleModel(vehicleid) == 571)
if(GetVehicleModel(vehicleid) == 572)
if(GetVehicleModel(vehicleid) == 573)
if(GetVehicleModel(vehicleid) == 574)
if(GetVehicleModel(vehicleid) == 575)
if(GetVehicleModel(vehicleid) == 576)
if(GetVehicleModel(vehicleid) == 578)
if(GetVehicleModel(vehicleid) == 579)
if(GetVehicleModel(vehicleid) == 580)
if(GetVehicleModel(vehicleid) == 582)
if(GetVehicleModel(vehicleid) == 583)
if(GetVehicleModel(vehicleid) == 585)
if(GetVehicleModel(vehicleid) == 570)
if(GetVehicleModel(vehicleid) == 587)
if(GetVehicleModel(vehicleid) == 588)
if(GetVehicleModel(vehicleid) == 589)
if(GetVehicleModel(vehicleid) == 591)
if(GetVehicleModel(vehicleid) == 594)
if(GetVehicleModel(vehicleid) == 596)
if(GetVehicleModel(vehicleid) == 597)
if(GetVehicleModel(vehicleid) == 598)
if(GetVehicleModel(vehicleid) == 599)
if(GetVehicleModel(vehicleid) == 600)
if(GetVehicleModel(vehicleid) == 601)
if(GetVehicleModel(vehicleid) == 602)
if(GetVehicleModel(vehicleid) == 603)
if(GetVehicleModel(vehicleid) == 609)
{
if(PlayerInfo[playerid][pCarLicense] == 0)
{
SendClientMessage(playerid, 0xFFFF89FF, "Du hast keinen Auto Schein!"); //weiß es auch grad nicht genau aber so vllt:
RemovePlayerFromVehicle(playerid);
}
}
SendClientMessage(playerid,bRot,"Benutze STRG um den Motor an/aus zu schalten!");
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}