Errors in SMC - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Errors in SMC (
/showthread.php?tid=526049)
Errors in SMC -
Team_PRO - 15.07.2014
Код:
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;
}
Re: Errors in SMC -
LarryTiger - 15.07.2014
Can you show me where is the line 8462?
Re: Errors in SMC -
BroZeus - 15.07.2014
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>?
Re: Errors in SMC -
Team_PRO - 15.07.2014
Quote:
Originally Posted by LarryTiger
Can you show me where is the line 8462?
|
pawn Код:
SendClientMessage(playerid, COL_GREY, string);
Re: Errors in SMC -
Sojo12 - 15.07.2014
The syntax what you're trying to use is
Код:
SendClientMessageToAll
which is not compatible with
Re: Errors in SMC -
KayJ - 15.07.2014
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
Re: Errors in SMC -
Team_PRO - 15.07.2014
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.
Re: Errors in SMC -
Sojo12 - 15.07.2014
Line 23812 is?
Re: Errors in SMC -
Team_PRO - 15.07.2014
this line is not existing only upto 23811 only
Re: Errors in SMC -
Sojo12 - 15.07.2014
So the problem lies between 23800-23811