Tutorial -> Convert 0.2x script to 0.3a
#34

Can someone help me please ?

I receive this error when i compile !
E:\Program Files\SAMP Server\gamemodes\gf_ro2.4.5.pwn(29171) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
E:\Program Files\SAMP Server\gamemodes\gf_ro2.4.5.pwn(29173) : error 017: undefined symbol "Mute"
E:\Program Files\SAMP Server\gamemodes\gf_ro2.4.5.pwn(29173) : warning 215: expression has no effect
E:\Program Files\SAMP Server\gamemodes\gf_ro2.4.5.pwn(29173) : error 001: expected token: ";", but found "]"
E:\Program Files\SAMP Server\gamemodes\gf_ro2.4.5.pwn(29173) : error 029: invalid expression, assumed zero
E:\Program Files\SAMP Server\gamemodes\gf_ro2.4.5.pwn(29173) : fatal error 107: too many error messages on one line

In pawno i have this : public OnPlayerPrivmsg(playerid, receiverid, text[])
{
if(Mute[playerid] == 1) return 0;
PlayerRespond [receiverid] = playerid;

new pname[MAX_PLAYER_NAME];
new rname[MAX_PLAYER_NAME];
new tmpstring[256];
GetPlayerName(receiverid,rname,sizeof(rname));
GetPlayerName(playerid,pname,sizeof(pname));
format(tmpstring,sizeof(tmpstring),"to %s(%d): %s",rname,receiverid,text);
SendClientMessage(playerid,0xFFCC22FF,tmpstring);
format(tmpstring,sizeof(tmpstring),"from %s(%d): %s",pname,playerid,text);
SendClientMessage(receiverid,0xFFFF22FF,tmpstring) ;
//Above return 1
return 1;
}
Reply


Messages In This Thread
Tutorial -> Convert 0.2x script to 0.3a - by Joe Staff - 25.10.2009, 21:36
Re: [TUT] Convert 0.2x script to 0.3a - by iLinx - 25.10.2009, 21:40
Re: [TUT] Convert 0.2x script to 0.3a - by Joe Staff - 26.10.2009, 00:36
Re: [TUT] Convert 0.2x script to 0.3a - by RoamPT - 26.10.2009, 00:55
Re: [TUT] Convert 0.2x script to 0.3a - by miokie - 26.10.2009, 01:19
Re: [TUT] Convert 0.2x script to 0.3a - by Proteus - 26.10.2009, 02:01
Re: [TUT] Convert 0.2x script to 0.3a - by Joe Staff - 26.10.2009, 02:05
Re: [TUT] Convert 0.2x script to 0.3a - by Avsecret - 26.10.2009, 03:19
Re: [TUT] Convert 0.2x script to 0.3a - by 0ne - 26.10.2009, 19:52
Re: [TUT] Convert 0.2x script to 0.3a - by Jese - 26.10.2009, 20:41
Re: [TUT] Convert 0.2x script to 0.3a - by Joe Staff - 27.10.2009, 04:39
Re: [TUT] Convert 0.2x script to 0.3a - by 0ne - 27.10.2009, 07:55
Re: [TUT] Convert 0.2x script to 0.3a - by Joe Staff - 27.10.2009, 08:05
Re: [TUT] Convert 0.2x script to 0.3a - by Tudor23 - 27.10.2009, 10:18
Re: [TUT] Convert 0.2x script to 0.3a - by dice7 - 27.10.2009, 10:47
Re: [TUT] Convert 0.2x script to 0.3a - by Burridge - 27.10.2009, 10:53
Re: [TUT] Convert 0.2x script to 0.3a - by HsY - 27.10.2009, 12:48
Re: [TUT] Convert 0.2x script to 0.3a - by TheNooB - 27.10.2009, 16:23
Re: [TUT] Convert 0.2x script to 0.3a - by Simon - 28.10.2009, 04:52
Re: [TUT] Convert 0.2x script to 0.3a - by HsY - 28.10.2009, 10:12
Re: Tutorial -> Convert 0.2x script to 0.3a - by Joe Staff - 31.10.2009, 05:04
Re: Tutorial -> Convert 0.2x script to 0.3a - by sexybeast - 31.10.2009, 05:15
Re: Tutorial -> Convert 0.2x script to 0.3a - by OGganza - 31.10.2009, 19:40
Re: Tutorial -> Convert 0.2x script to 0.3a - by •CryWolf• - 10.11.2009, 14:10
Re: Tutorial -> Convert 0.2x script to 0.3a - by JustinSton - 16.11.2009, 20:31
Re: Tutorial -> Convert 0.2x script to 0.3a - by Simon - 17.11.2009, 03:16
Re: Tutorial -> Convert 0.2x script to 0.3a - by JustinSton - 17.11.2009, 14:33
Re: Tutorial -> Convert 0.2x script to 0.3a - by mrdja1 - 18.11.2009, 19:00
Re: Tutorial -> Convert 0.2x script to 0.3a - by elvago - 18.11.2009, 19:10
Re: Tutorial -> Convert 0.2x script to 0.3a - by mrdja1 - 18.11.2009, 19:27
Re: Tutorial -> Convert 0.2x script to 0.3a - by JustinSton - 19.11.2009, 20:19
Re: Tutorial -> Convert 0.2x script to 0.3a - by MPKaboose - 19.11.2009, 20:23
Re: Tutorial -> Convert 0.2x script to 0.3a - by Gabb041 - 03.12.2009, 15:31
Re: Tutorial -> Convert 0.2x script to 0.3a - by Gabb041 - 04.12.2009, 11:43
Re: Tutorial -> Convert 0.2x script to 0.3a - by maam10 - 05.12.2009, 16:09
Re: Tutorial -> Convert 0.2x script to 0.3a - by Joe Staff - 05.12.2009, 17:25
Re: Tutorial -> Convert 0.2x script to 0.3a - by maam10 - 07.12.2009, 15:58
Re: Tutorial -> Convert 0.2x script to 0.3a - by Joe Staff - 07.12.2009, 18:35
Re: Tutorial -> Convert 0.2x script to 0.3a - by Vaggos_Ryder - 10.12.2009, 14:40
Re: Tutorial -> Convert 0.2x script to 0.3a - by Vialpando - 31.12.2009, 14:08
Re: Tutorial -> Convert 0.2x script to 0.3a - by xivo - 31.12.2009, 15:11
Re: Tutorial -> Convert 0.2x script to 0.3a - by [03]Garsino - 31.12.2009, 16:18
Re: Tutorial -> Convert 0.2x script to 0.3a - by Kohva - 01.02.2010, 15:57
Re: Tutorial -> Convert 0.2x script to 0.3a - by Kohva - 07.02.2010, 21:19
Re: Tutorial -> Convert 0.2x script to 0.3a - by Kohva - 08.02.2010, 16:04
Re: Tutorial -> Convert 0.2x script to 0.3a - by Kohva - 09.02.2010, 14:30
Re: Tutorial -> Convert 0.2x script to 0.3a - by SlashPT - 09.02.2010, 15:13
Re: Tutorial -> Convert 0.2x script to 0.3a - by Kohva - 10.02.2010, 10:33
Re: Tutorial -> Convert 0.2x script to 0.3a - by Kohva - 11.02.2010, 11:09
Re: Tutorial -> Convert 0.2x script to 0.3a - by GforceNL - 11.02.2010, 13:14
Re: Tutorial -> Convert 0.2x script to 0.3a - by Kohva - 17.02.2010, 14:19
Re: Tutorial -> Convert 0.2x script to 0.3a - by Kohva - 26.02.2010, 05:06
Re: Tutorial -> Convert 0.2x script to 0.3a - by kohupiim5 - 26.02.2010, 11:19
Re: Tutorial -> Convert 0.2x script to 0.3a - by Kohva - 28.02.2010, 20:48

Forum Jump:


Users browsing this thread: 8 Guest(s)