Errors in SMC
#1

Код:
C:\Users\Matt\Desktop\SAMP\FG[4.0].pwn(8462) : error 035: argument type mismatch (argument 2)
pawn Код:
public GEOIP_HTTPREQUEST(playerid, response_code, location[]) // The GEO-IP Callback.
{
    new string[128];
    if(response_code == 200) {
        if(pInfo[playerid][Admin] == 1) return SendClientMessage(playerid, COLOR_RED, EACMD);
        {
        new Pname[64];
        GetPlayerName(playerid,Pname,sizeof(Pname));
        format(string, sizeof(string), "Country: %s joined the server from %s",Pname,location);
        SendClientMessage(playerid, COL_GREY, string);
        }
        return 1;
    }
Reply
#2

Can you show me where is the line 8462?
Reply
#3

the problem is with this line
pawn Код:
if(pInfo[playerid][Admin] == 1) return SendClientMessage(playerid, COLOR_RED, EACMD);
        {
what do u exactly want to do
when admin connects then show that which country is he connected from to all>?
Reply
#4

Quote:
Originally Posted by LarryTiger
Посмотреть сообщение
Can you show me where is the line 8462?
pawn Код:
SendClientMessage(playerid, COL_GREY, string);
Reply
#5

The syntax what you're trying to use is
Код:
SendClientMessageToAll
which is not compatible with
Код:
SendClientMessage
Reply
#6

Quote:
Originally Posted by Team_PRO
Посмотреть сообщение
pawn Код:
SendClientMessage(playerid, COL_GREY, string);
pawn Код:
SendClientMessage(playerid, COLOR_GREY, string);
pawn Код:
SendClientMessage(playerid, GREY, string);
anyone of this works
Reply
#7

fixed the old one

Now
pawn Код:
C:\Users\Matt\Desktop\SAMP\FG[4.0].pwn(23812) : warning 203: symbol is never used: "Seifensive_GivePlayerMoney"
C:\Users\Matt\Desktop\SAMP\FG[4.0].pwn(23812) : warning 203: symbol is never used: "Seifensive_GivePlayerWeapon"
C:\Users\Matt\Desktop\SAMP\FG[4.0].pwn(23812) : warning 203: symbol is never used: "Seifensive_TakePlayerMoney"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Warnings.
Reply
#8

Line 23812 is?
Reply
#9

this line is not existing only upto 23811 only
Reply
#10

So the problem lies between 23800-23811
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)