Beiträge von CapriiX3


    else if(IsAFahrschulCar(newcar)){ if(PlayerInfo[playerid][pMember] == 11 ||PlayerInfo[playerid][pLeader] == 11){ format(string, sizeof(string), "Dieses Fahrzeug gehört dem SA News Team! Fahrzeugnummer: %d",carid);SendClientMessage(playerid,RED, string);}else if(TakingLesson[playerid] == 1){ format(string, sizeof(string), "Dieses Fahrzeug gehört der Fahrschule! Fahrzeugnummer: %d",carid);SendClientMessage(playerid,RED, string); } else { SendClientMessage(playerid,COLOR_GREY,"Du hast keinen Schlüssel!(/exit um das Fahrzeug zu verlassen)"); format(string, sizeof(string), "Dieses Fahrzeug gehört der Fahrschule! Fahrzeugnummer: %d",carid);SendClientMessage(playerid,RED, string);}}



    Was meinst du mit global?

    hier z.b


    else if(IsAFahrschulCar(newcar)){ if(PlayerInfo[playerid][pMember] == 11 ||PlayerInfo[playerid][pLeader] == 11){ format(string, sizeof(string), "Dieses Fahrzeug gehört dem SA News Team! Fahrzeugnummer: %d",carid);SendClientMessage(playerid,RED, string);}else if(TakingLesson[playerid] == 1){ format(string, sizeof(string), "Dieses Fahrzeug gehört der Fahrschule! Fahrzeugnummer: %d",carid);SendClientMessage(playerid,RED, string); } else { SendClientMessage(playerid,COLOR_GREY,"Du hast keinen Schlüssel!(/exit um das Fahrzeug zu verlassen)"); format(string, sizeof(string), "Dieses Fahrzeug gehört der Fahrschule! Fahrzeugnummer: %d",carid);SendClientMessage(playerid,RED, string);}}

    danke für deine Antwort :)


    jetzt kommen 79 warnings..


    C:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4210) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4625) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4633) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4642) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4651) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4806) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4815) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4824) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4833) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4843) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4854) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4864) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4874) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4883) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4892) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4901) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4911) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4921) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4931) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4941) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4951) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4962) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4971) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4980) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4989) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(4998) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5007) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5016) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5025) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5034) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5043) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5052) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5062) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5071) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5080) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5089) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5099) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5109) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5119) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5129) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5139) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5148) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5157) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5166) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5175) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5184) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5193) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5202) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5211) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5220) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5229) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(5399) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(9619) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(9940) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(10294) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(10321) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(10944) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(17330) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(17524) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(17535) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(29963) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(29980) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(33521) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(33568) : warning 219: local variable "carid" shadows a variable at a preceding levelC:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(81722) : warning 219: local variable "carid" shadows a variable at a preceding levelPawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    79 Warnings.


    ----


    sry das der text in einer Linie ist -.-

    Haaay Leute :)


    Ich hatte ich ein kleines Problem mit denn Fahrschul-Autos.
    Un zwar wenn ein Fahrlehrer bei einem /startlesson mache, kann er trotzdem das Auto nicht betreten.
    Ich hab bisschen dran rum gespielt aber es kommen immer 3 Errors die ich nicht verstehe -.-



    C:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(17143) : error 017: undefined symbol "carid"C:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(17148) : error 017: undefined symbol "carid"C:\Users\Mardinli\Desktop\Ravens\gamemodes\larp.pwn(17154) : error 017: undefined symbol "carid"Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    3 Errors.




    Könntet ihr mir bitte weiter helfen?!! :(


    Danke im vorraus :thumbup:


    mfg.