Jump to content
  • 0

Ajutor Warning


Dorel

Question

Salut incerc sa fac un gamemode si am intampinat o problema, nu neaparat atat de mare dar trebuie rezolvata ,problema este ca, cand dau compile imi da 3 warning-uri

warning 215: expression has no effect 

warning 215: expression has no effect

warning 215: expression has no effect

Astea sunt warningurile, iar cand pornesc serverul in consola apare asta:


Script[gamemodes/grandlarc.amx]: Run time error 19: "File or function is not found"

MA PUTETI AJUTA VA ROG MULT !!! 

MULTUMESC

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
Acum 53 minute, iSorin[] a spus:

Pai un cod sursa ? :)) 

public OnPlayerConnect(playerid)
{
    GameTextForPlayer(playerid,"~w~SucKer",3000,79);
      SendClientMessage(playerid,COLOR_WHITE,"Bun Venit Pe Server-ul Nostru");
      
      // class selection init vars
      gPlayerCitySelection[playerid] = -1;
    gPlayerHasCitySelected[playerid] = 0;
    gPlayerLastCitySelectionTick[playerid] = GetTickCount();
    gPoliceSpawns[playerid];
    gArmySpawns[playerid];
    gMedicalSpawns[playerid];

    //SetPlayerColor(playerid,COLOR_NORMAL_PLAYER);

    /*
    Removes vending machines
    RemoveBuildingForPlayer(playerid, 1302, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 1209, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 955, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 1775, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 1776, 0.0, 0.0, 0.0, 6000.0);
    */
    
    /*
    new ClientVersion[32];
    GetPlayerVersion(playerid, ClientVersion, 32);
    printf("Player %d reports client version: %s", playerid, ClientVersion);*/

    return 1;
}

 

Asta e ok ? sunt mai la inceput scuze !

Link to comment
Share on other sites

  • 0
Chiar acum, Dorel a spus:

public OnPlayerConnect(playerid)
{
    GameTextForPlayer(playerid,"~w~SucKer",3000,79);
      SendClientMessage(playerid,COLOR_WHITE,"Bun Venit Pe Server-ul Nostru");
      
      // class selection init vars
      gPlayerCitySelection[playerid] = -1;
    gPlayerHasCitySelected[playerid] = 0;
    gPlayerLastCitySelectionTick[playerid] = GetTickCount();
    gPoliceSpawns[playerid];
    gArmySpawns[playerid];
    gMedicalSpawns[playerid];

    //SetPlayerColor(playerid,COLOR_NORMAL_PLAYER);

    /*
    Removes vending machines
    RemoveBuildingForPlayer(playerid, 1302, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 1209, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 955, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 1775, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 1776, 0.0, 0.0, 0.0, 6000.0);
    */
    
    /*
    new ClientVersion[32];
    GetPlayerVersion(playerid, ClientVersion, 32);
    printf("Player %d reports client version: %s", playerid, ClientVersion);*/

    return 1;
}

 

Asta e ok ? sunt mai la inceput scuze !

Pai si care sunt liniile exacte ?

Link to comment
Share on other sites

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.