Quote:
Originally Posted by Markiez
If I get this right, it should look something like this? I guess, havin hard time understanding actually wat u mean.
Code:
#include <sourcemod>
#pragma semicolon 1
public Action:OnClientSayCommand(client)
{
decl String:text[99];
GetCmdArgString(text, sizeof(text));
if (StrContains(text, "@"))
{
//do smth here
}
}
|
StrContains isn't a boolean, you need to check if it doesn't equal -1.