26.05.2018, 19:11
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:
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.
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(playerid, name,sizeof(name));
format(string,sizeof(string),"[VIP Chat] %s (%i): %s", name,playerid,text[1]);