Posts: 282
Threads: 50
Joined: Apr 2008
Reputation:
0
How to disable /tpm and /pm on gamemodes?
I think that /tpm and /pm are "default" commands of sa-mp
So how to disable this?
Posts: 810
Threads: 34
Joined: Nov 2007
Reputation:
0
OnPlayerPrivMessage(senderid....)
{
return 0; instead of return 1; and dunno bout TPM
Posts: 282
Threads: 50
Joined: Apr 2008
Reputation:
0
its return 0; still enabled..
Posts: 3,262
Threads: 30
Joined: Aug 2008
Reputation:
0
OnPlayerTeamPrivmsg(playerid, text[]) is actually being missed from the header, so if you don't have it on your gamemode, you can simply drop the public in your mode, and add the forward to the a_samp include.