Jump to content

Sn1PDR

Uživatel
  • Příspěvků

    2
  • Registrován

  • Aktivní

Příspěvky posted by Sn1PDR

  1. Prosím pomoc :(

     

     

    Mám tam new mám tam vše aj Public ale hází mi to toto :(

     

     

     

    C:\Documents and Settings\Sn1P\Plocha\pawno\mode.pwn(478) : warning 202: number of arguments does not match definition

    Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

     

     

    1 Warning.

     

     

    //WEATHER
    dcmd_w(playerid, params[]) {
    new idx, iString[128];
    iString = strtok(params, idx);
    if (!strlen(iString)) {
     SendClientMessage(playerid, 0x00AAFFFF, "[uSAGE]: /w ID or /weather ID");
     return true;
    }
    idx = strval(iString);
    if (idx < MIN_TIME_ID || idx > MAX_TIME_ID) {
     SendClientMessage(playerid, 0x00AAFFFF, "[ERROR]: Invalid weather ID");
     return true;
    }
    gWorldStatus[1] = idx;
    SetPlayerWeather(playerid,idx,0);
    format(iString, 128, "[sUCCESS]: Weather has been changed to %d", idx);
    SendClientMessage(playerid, 0x00AAFFFF, iString);
    return true;
    }
    // + celé
    dcmd_weather(playerid, params[]) {
    dcmd_w(playerid, params);
    return true;
    }
    

     

     

    řádek 478 : SetPlayerWeather(playerid, idx,0);

×
×
  • Create New...