Beiträge von x3Marsx3

    Ich habe noch ein Problem -.-


    if(strcmp(cmdtext,"/restart",true)==0)
    {
    SendRconCommand("gmx");


    return 1;



    }


    return 0;
    }




    ERROR:
    C:\Users\Marcel\Desktop\Server\gamemodes\versuch.pwn(106) : warning 217: loose indentation
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Warning.

    Habe jetzt was verändert..



    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(strcmp(cmdtext,"/bsn",true)==0
    {
    SetPlayerPos(playerid,1218.4120,-916.8345,42.9173);
    }
    return 0;
    }


    Aber es kommt immer noch ein ERROR:


    C:\Users\Marcel\Desktop\Server\gamemodes\versuch.pwn(97) : error 029: invalid expression, assumed zero
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.

    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(strcmp(cmstext,"/bsn",true)==0
    {


    }
    }




    Der Error :


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(strcmp(cmstext,"/bsn",true)==0
    {


    }
    }