SA-MP Forums Archive
How to delete "Privmsg" Function? - 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: How to delete "Privmsg" Function? (/showthread.php?tid=250445)



How to delete "Privmsg" Function? - seanny - 23.04.2011

How do I delete the "privmsg" funcation in HillSide RP script

Код:
}

public OnPlayerPrivmsg(playerid, recieverid, text[])
{



Re: How to delete "Privmsg" Function? - leong124 - 23.04.2011

Highlight it and press the delete button.
If you want to have PM command in 0.3 series, create a command for it(or download a FS here).


Re: How to delete "Privmsg" Function? - MadeMan - 23.04.2011

Select it and press delete button?


Re: How to delete "Privmsg" Function? - xRyder - 23.04.2011

With "Delete" button on your keyboard?


Re: How to delete "Privmsg" Function? - seanny - 23.04.2011

now I get
Код:
C:\Users\Admin\Desktop\SCRP\GameModes\Hillside.pwn(2) : error 010: invalid function or declaration
C:\Users\Admin\Desktop\SCRP\GameModes\Hillside.pwn(26613) : error 017: undefined symbol "NameTimer"
C:\Users\Admin\Desktop\SCRP\GameModes\Hillside.pwn(28026) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.



Re: How to delete "Privmsg" Function? - Cjgogo - 23.04.2011

ROFL xDDDDD ) OMG of course using your keyboard wait no ok now no jokes ifrst you have to look on ****** for CompuBase number phone and call them while u talk to an operator ask for permission of DeleteRight to modify a downloaded gamemode xDDDD


Re: How to delete "Privmsg" Function? - seanny - 23.04.2011

Quote:
Originally Posted by Cjgogo
Посмотреть сообщение
ROFL xDDDDD ) OMG of course using your keyboard wait no ok now no jokes ifrst you have to look on ****** for CompuBase number phone and call them while u talk to an operator ask for permission of DeleteRight to modify a downloaded gamemode xDDDD
OMG a post hunter :O

@others - What I was trying to ask was How do I delete it without getting errors?


Re: How to delete "Privmsg" Function? - Cjgogo - 23.04.2011

ok here's real solution then delete that and look at your top of gamemdoe maybe you have forward OnPlayerPrivmsg you should delete that also


Re: How to delete "Privmsg" Function? - MadeMan - 23.04.2011

I think you deleted only the heading

pawn Код:
public OnPlayerPrivmsg(playerid, recieverid, text[])
But you have to delete all this

pawn Код:
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
...
}



Re: How to delete "Privmsg" Function? - seanny - 23.04.2011

Quote:
Originally Posted by Cjgogo
Посмотреть сообщение
ok here's real solution then delete that and look at your top of gamemdoe maybe you have forward OnPlayerPrivmsg you should delete that also
Nope aint their

@Mademan -
Код:
*/
#include <a_samp>
#include <core>
#include <float>
#include <time>
#include <file>
#include <utils>
#include <morphinc>
static gTeam[MAX_PLAYERS];