SA-MP Forums Archive
wht not working ? - 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: wht not working ? (/showthread.php?tid=92379)



wht not working ? - The_Tough - 19.08.2009

public OnPlayerText(playerid, text[]) {
if(PlayerData[playerid][Mutted] == 1) return SendClientMessage(playerid,COLOUR_YELLOW,"[ NOTICE ] You are mutted");
return 1;
}


Re: wht not working ? - craponnaruto - 19.08.2009

It's spelled muted...


Re: wht not working ? - craponnaruto - 19.08.2009

Quote:
Originally Posted by The_Tough
public OnPlayerText(playerid, text[]) {
if(PlayerData[playerid][Mutted] == 1) return SendClientMessage(playerid,COLOUR_YELLOW,"[ NOTICE ] You are mutted");
return 1;
}
Should be [muted]


Re: wht not working ? - coole210 - 19.08.2009

pawn Код:
if(PlayerData[playerid][Mutted] == 1)
{
SendClientMessage(playerid,COLOUR_YELLOW,"[ NOTICE ] You are mutted");
return 0;
}
EDIT: OFFTOPIC: Are you naruto from WS?


Re: wht not working ? - The_Tough - 20.08.2009

lol naruto ? dont you read my name ?