Jump to content
  • 0

[Problema] Compilare - Code


Datcu

Question

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);
        }

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.