Jump to content

Question

Posted

Nick: Turborulează

Problema: Îmi dă o eroare la compile.

Erori / warnings:

#include                <GeoIP_Plugin>x

(12) : fatal error 100: cannot read from file: "GeoIP_Plugin"

Lini/script: 12

Ai incercat sa rezolvi singur ?: Da, am încercat să fac de aici http://forum.sa-mp.com/showthread.php?t=190699

2 answers to this question

Recommended Posts

Posted

uitete mai atent de unde ai luat plugins ai si un exemplu ..

in loc de

[pawn]#include <GeoIP_Plugin>[/pawn]

  pui

[pawn]#include <geoip>[/pawn]

Vezi exemplu ?

[pawn]#include <a_samp>

#include <geoip>

public OnGeoipUpdate( playerid )

{

    new

        message[ 32 + MAX_COUNTRY_NAME ]

    ;

 

    format( message, sizeof( message ), "Did I hear you're from %s?", GetPlayerCountryName( playerid ) );

 

    SendClientMessage( playerid, -1, message );

 

    switch ( GetPlayerCountryIndex( playerid ) )

    {

        case COUNTRY_SE: SendClientMessage( playerid, -1, "Välkommen." );

        case COUNTRY_HR: SendClientMessage( playerid, -1, "Bok." );

        case COUNTRY_RU: SendClientMessage( playerid, -1, "zdras-tvooy-tyeh." ); // :D

        case COUNTRY_NL: SendClientMessage( playerid, -1, "Hoi." );

        case COUNTRY_RO: SendClientMessage( playerid, -1, "Salut." );

        case COUNTRY_BE: SendClientMessage( playerid, -1, "Goedenmiddag." );

        case COUNTRY_AU: SendClientMessage( playerid, -1, "G'day mate." );

        case COUNTRY_IN: SendClientMessage( playerid, -1, "Namaste." );

        case COUNTRY_US: SendClientMessage( playerid, -1, "What's up." );

        case COUNTRY_GB: SendClientMessage( playerid, -1, "Wotcha." );

        case COUNTRY_DE: SendClientMessage( playerid, -1, "Guten tag." );

     

        default: SendClientMessage( playerid, -1, "Welcome." );

    }

}[/pawn]

Posted

2 days without reply , T/C.

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Guest
This topic is now closed to further replies.
×
×
  • 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.