Jump to content

Datcu

Membru
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Datcu

  1. Salut, am un Gamemode tip B-zone si am urmatoarea problema la compilare : 

    C:\Users\Andrei\Desktop\B-zone\gamemodes\localhost.pwn(19374) : error 012: invalid function call, not a valid address
    C:\Users\Andrei\Desktop\B-zone\gamemodes\localhost.pwn(19374) : warning 215: expression has no effect
    C:\Users\Andrei\Desktop\B-zone\gamemodes\localhost.pwn(19374) : error 001: expected token: ";", but found ")"
    C:\Users\Andrei\Desktop\B-zone\gamemodes\localhost.pwn(19374) : error 029: invalid expression, assumed zero
    C:\Users\Andrei\Desktop\B-zone\gamemodes\localhost.pwn(19374) : 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.
    ------------------------------------

    Mai jos aveti linia de cod a erorii:

    format(string, sizeof(string), "** %s are nevoie de un Taximetrist, Locatie: %s (SF). (scrie /accept taxi %d pentru a accepta)", GetName(playerid) ,GetPlayerArea(playerid),playerid);

     

    ------------------------------------

    Si aici este mai mult codding din gamemode:

    if(TaxiDrivers == 0) return SendClientMessage(playerid, COLOR_OOC, "Momentan nu sunt taximetristi la datorie.");
            if(IsPlayerInArea(playerid, -2997.40, -1115.50, -1213.90, 1659.60)) {
                format(string, sizeof(string), "** %s are nevoie de un Taximetrist, Locatie: %s (SF). (scrie /accept taxi %d pentru a accepta)", GetName(playerid) ,GetPlayerArea(playerid),playerid);
                SendTeamMessage(13,COLOR_OOC,string);
                SendTeamMessage(16,COLOR_OOC,string);
                SendTeamMessage(17,COLOR_OOC,string);
            }

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.