[Duvida]Duvida No Script Aadmin
#1

ola a todos queria saber como consertar esse warning:

D:\Minhas imagens\Admin\Arquivos\Server SAMP\Server Samp\pawno\Untitled.pwn(276) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")

na linha 276 tem o seguinte:




276. public OnPlayerPrivmsg(playerid, recieverid, text[])
277. {
278. new string[256];
279. new PlayerName[MAX_PLAYER_NAME];
280. new RecName[MAX_PLAYER_NAME];
281. GetPlayerName(recieverid, RecName, sizeof(RecName));
282. GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
283. if(IsPlayerConnected(recieverid) && IsPlayerConnected(playerid))
284. {
285. format(string, sizeof(string), "AdmPM: PM de %s to %s: %s.", PlayerName, RecName, text);
286. for(new i = 0; i < MAX_PLAYERS; i++)
287. {
288. if(IsPlayerConnected(i) && PlayerInfo[i][pAdmin] >= 1 && i != playerid && i != recieverid)
289. {
290. if(PlayerInfo[i][pPMs] == 1)
291. {
292. SendClientMessage(i, COLOR_CYAN, string);
293. }
294. }
295. }


e tbm queria saber como eu crio mais um level no admin filterscript e como eu mudo o level para usar um comando(se tiver algum tutorial me envie ou fale por aki mesmo!)
Reply


Messages In This Thread
[Duvida]Duvida No Script Aadmin - by andersongr98 - 07.07.2010, 02:57
Re: [Duvida]Duvida No Script Aadmin - by andmeida10 - 07.07.2010, 07:21
Re: [Duvida]Duvida No Script Aadmin - by ipsBruno - 07.07.2010, 13:12
Re: [Duvida]Duvida No Script Aadmin - by egonzks - 07.07.2010, 15:25
Re: [Duvida]Duvida No Script Aadmin - by andersongr98 - 07.07.2010, 15:35
Re: [Duvida]Duvida No Script Aadmin - by [BEP]AcerPilot - 07.07.2010, 18:48
Re: [Duvida]Duvida No Script Aadmin - by andersongr98 - 07.07.2010, 21:13
Re: [Duvida]Duvida No Script Aadmin - by TheGarfield - 07.07.2010, 21:36
Re: [Duvida]Duvida No Script Aadmin - by andersongr98 - 08.07.2010, 00:56

Forum Jump:


Users browsing this thread: 1 Guest(s)