OnPlayerText Not Working
#3

There's some issues in your OnPlayerText callback.

for example and as Milak said, you defined string as player's name so why you're formatting it, it's horribly wrong.

It should be like that for ex:

PHP код:
new string[90], name[MAX_PLAYER_NAME];
GetPlayerName(playeridname,sizeof(name));
format(string,sizeof(string),"[VIP Chat] %s (%i): %s"name,playerid,text[1]); 
Plus your code is just a copy paste of other scripts/filter-scripts and pasted in your gamemode or whatever you're working on, but without optimization.
Reply


Messages In This Thread
OnPlayerText Not Working - by TadePoleMG - 26.05.2018, 15:16
Re: OnPlayerText Not Working - by Milak - 26.05.2018, 17:55
Re: OnPlayerText Not Working - by RxErT - 26.05.2018, 19:11
Re: OnPlayerText Not Working - by jasperschellekens - 26.05.2018, 19:12

Forum Jump:


Users browsing this thread: 2 Guest(s)