ERRORS [HELP]
#1

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
Reply
#2

https://sampwiki.blast.hk/wiki/Category:Scripting_Functions
Look at the functions.
Reply
#3

nope it's not in function
Reply
#4

Are you using a special include?
Reply
#5

not at all
Reply
#6

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.
Reply
#7

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
Reply
#8

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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)