ERRORS [HELP] - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ERRORS [HELP] (
/showthread.php?tid=225194)
ERRORS [HELP] -
Medal Of Honor team - 13.02.2011
This is the error I get
pawn Код:
F:\Documents and Settings\Mehtab\My Documents\Downloads\MEDAL OF HONOR\filterscripts\clan.pwn(168) : error 017: undefined symbol "SendClientMessageToClan"
F:\Documents and Settings\Mehtab\My Documents\Downloads\MEDAL OF HONOR\filterscripts\clan.pwn(170) : error 017: undefined symbol "SetClanJoinID"
F:\Documents and Settings\Mehtab\My Documents\Downloads\MEDAL OF HONOR\filterscripts\clan.pwn(177) : error 017: undefined symbol "SendClientMessageToClan"
F:\Documents and Settings\Mehtab\My Documents\Downloads\MEDAL OF HONOR\filterscripts\clan.pwn(185) : error 012: invalid function call, not a valid address
F:\Documents and Settings\Mehtab\My Documents\Downloads\MEDAL OF HONOR\filterscripts\clan.pwn(185) : warning 215: expression has no effect
F:\Documents and Settings\Mehtab\My Documents\Downloads\MEDAL OF HONOR\filterscripts\clan.pwn(185) : error 001: expected token: ";", but found ")"
F:\Documents and Settings\Mehtab\My Documents\Downloads\MEDAL OF HONOR\filterscripts\clan.pwn(185) : error 029: invalid expression, assumed zero
F:\Documents and Settings\Mehtab\My Documents\Downloads\MEDAL OF HONOR\filterscripts\clan.pwn(185) : fatal error 107: too many error messages on one line
These are the error lines:
pawn Код:
168 SendClientMessageToClan(CLANTEXT,string,cid);
170 clanjoin[playerid] = SetClanJoinID(cid);
177 SendClientMessageToClan(CLANTEXT,string,cid);
185 if(ClanLeader(playerclan[playerid]) != playerid) return SendClientMessage(playerid,ORANGE,"only the clan leader may invite people");
Please help me ASAP
AW: ERRORS [HELP] -
XoX - 13.02.2011
https://sampwiki.blast.hk/wiki/Category:Scripting_Functions
Look at the functions.
Re: ERRORS [HELP] -
Medal Of Honor team - 13.02.2011
nope it's not in function
AW: ERRORS [HELP] -
XoX - 13.02.2011
Are you using a special include?
Re: ERRORS [HELP] -
Medal Of Honor team - 13.02.2011
not at all
Re: ERRORS [HELP] -
JaTochNietDan - 13.02.2011
It means exactly what it says, those functions aren't available in your script. I don't know how you want us to help with that, we don't know what the functions are, what they are supposed to contain. All I know is that they aren't native functions so there's no documented information on the Wiki about them!
I don't know how else we can help you with that. You need to make those functions.
Re: ERRORS [HELP] -
Medal Of Honor team - 13.02.2011
how can i make it? search at lot in wiki but no help. I have tried replacing the script but still no sign of success
-
.LaaRs. - 13.02.2011
wait ill help u
first u have to define SendClientMessageToClan
you have to define with a SentPlayerMessage
and if(....){
..
}
else{
...
}
1st error
clanjoin[playerid] = SetClanJoinID(cid);
Set Clan join is not defined
if(ClanLeader(playerclan[playerid]) != playerid) return SendClientMessage(playerid,ORANGE,"only the clan leader may invite people");
make it:
if(ClanLeader(playerclan[playerid]) != playerid){
SendClientMessage(playerid,ORANGE,"only the clan leader may invite people");
return 0;
}