/mute problem
#3

Quote:
Originally Posted by Mic_H
Посмотреть сообщение
You are using it wrong sir.
Its PlayerStat[playerid][pMuted], not pMuted[playerid].
PHP код:
forward unmuteTimer(playerid);
public 
unmuteTimer(playerid)
{
     
PlayerStat[playerid][pMuted] = 0; return SendClientMessage(playerid, -1"You are no longer muted!"); 
Change for the rest too.. Have a good day sir.

This tutorial taught me better use of Enumerators, this will help you too. https://sampforum.blast.hk/showthread.php?tid=318307
Of course sir, thank you... But now I'm getting an argument type mismatch on these lines
pawn Код:
if(id == playerid) return SendClientMessage(playerid, RED,"You cannot use this command on yourself!");
    if(id == INVALID_PLAYER_ID) SendClientMessage(playerid,RED,"Player not found!");
Код:
C:\Documents and Settings\Vicki\Desktop\josh\SCRIPTING\TDM\gamemodes\LSGW.pwn(382) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Vicki\Desktop\josh\SCRIPTING\TDM\gamemodes\LSGW.pwn(383) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
/mute problem - by Josh_Main - 11.12.2014, 03:07
Re: /mute problem - by Mic_H - 11.12.2014, 03:15
Re: /mute problem - by Josh_Main - 11.12.2014, 03:19
Re: /mute problem - by Mic_H - 11.12.2014, 03:28
Re: /mute problem - by Josh_Main - 11.12.2014, 03:38
Re: /mute problem - by Mic_H - 11.12.2014, 03:42

Forum Jump:


Users browsing this thread: 1 Guest(s)