Beiträge von Msk.

    hi
    ich bekomme diese warnings ich habe keine Erfahrung mit dem warnigns und ich weis nicht wie ich es beheben soll :/
    kann mir da jemand helfen?


    C:\Program Files (x86)\Rockstar games\GTA san andreas\gamemodes\rr.pwn(769) : warning 202: number of arguments does not match definitionC:\Program Files (x86)\Rockstar games\GTA san andreas\gamemodes\rr.pwn(773) : warning 202: number of arguments does not match definitionC:\Program Files (x86)\Rockstar games\GTA san andreas\gamemodes\rr.pwn(777) : warning 202: number of arguments does not match definitionPawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    3 Warnings.




    und hier die Zeilen




    Code
    if(dialogid==navimenu)	{ if(response) { if(listitem==0) { SetPlayerCheckpoint(playerid,1773.1973,-1940.3854,13.5641,3,0); } if(listitem==1) { SetPlayerCheckpoint(playerid,1482.5378,-1764.8600,18.7958,3,0); } if(listitem==2) { SetPlayerCheckpoint(playerid,1830.4941,-1843.8345,13.5781,3,0); } }	}	return 1;

    C:\Program Files (x86)\Rockstar games\GTA san andreas\gamemodes\rr.pwn(529) : error 029: invalid expression, assumed zeroC:\Program Files (x86)\Rockstar games\GTA san andreas\gamemodes\rr.pwn(529) : warning 215: expression has no effectC:\Program Files (x86)\Rockstar games\GTA san andreas\gamemodes\rr.pwn(529) : error 001: expected token: ";", but found "if"C:\Program Files (x86)\Rockstar games\GTA san andreas\gamemodes\rr.pwn(529) : error 017: undefined symbol "CP"C:\Program Files (x86)\Rockstar games\GTA san andreas\gamemodes\rr.pwn(529) : fatal error 107: too many error messages on one line
    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    4 Errors.



    ich bekome diese Fehler :/




    public OnPlayerEnterCheckpoint(playerid){ else if(CP[playerid] == 30) { SendClientMessage(playerid, COLOR_RED, "Begib dich in das i!"); CP[playerid] = 0; DisablePlayerCheckpoint(playerid); } else if(CP[playerid] == 31) { SendClientMessage(playerid, COLOR_RED, "Begib dich in das i!"); CP[playerid] = 0; DisablePlayerCheckpoint(playerid); } else if(CP[playerid] == 32) { SendClientMessage(playerid, COLOR_RED, "Begib dich in das i!"); CP[playerid] = 0; DisablePlayerCheckpoint(playerid); } else if(CP[playerid] == 33) { SendClientMessage(playerid, COLOR_RED, "Begib dich in das i!"); CP[playerid] = 0; DisablePlayerCheckpoint(playerid); } else if(CP[playerid] == 34) { SendClientMessage(playerid, COLOR_RED, "Begib dich in das i!"); CP[playerid] = 0; DisablePlayerCheckpoint(playerid); } else if(CP[playerid] == 35) { SendClientMessage(playerid, COLOR_RED, "Begib dich in das i!"); CP[playerid] = 0; DisablePlayerCheckpoint(playerid); } else if(CP[playerid] == 36) { SendClientMessage(playerid, COLOR_RED, "Begib dich in das i!"); CP[playerid] = 0; DisablePlayerCheckpoint(playerid); } else if(CP[playerid] == 37) { SendClientMessage(playerid, COLOR_RED, "Begib dich in das i!"); CP[playerid] = 0; DisablePlayerCheckpoint(playerid); } else if(CP[playerid] == 38) { SendClientMessage(playerid, COLOR_RED, "Begib dich in das i!"); CP[playerid] = 0; DisablePlayerCheckpoint(playerid); } else if(CP[playerid] == 39) { SendClientMessage(playerid, COLOR_RED, "Begib dich in das i!"); CP[playerid] = 0; DisablePlayerCheckpoint(playerid); } return 1;}

    ich habe es grade gedownloaded und es ist so wie in der version 1.3.1

    Code
    if (strcmp("/dtdcamenu", cmdtext, true, 10) == 0)	{		if(!IsPlayerAdmin(playerid) && !CallRemoteFunction("PlayerIsAdmin","i",playerid))		{			SendClientMessage(playerid,COLOR_GREY,"  Du hast nicht die nötigen Rechte!");			return 1;		}		new str[50];		new str2[120];		format(str,sizeof(str),"[DT]Dynamic Car Admin-Menu (V: %s)",Dtdc_Version);		format(str2,sizeof(str2),"Configuration\nLog Configuration\nAutohaeuser\nResprayer\nTuner");		new checker = Dtdc_Updater;		if(checker==1){format(str2,sizeof(str2),"%s\nAuf Updates Prüfen",str2);}  		ShowPlayerDialog(playerid,AdminDia,DIALOG_STYLE_LIST,str,str2,"OK","Abbrechen");		Dtdc_Player[playerid][AdminDialog] = AdminMainDia;		return 1;	}



    ah ja und muss man da auch was im gamemode einfugen ?