22.06.2010, 21:40
How do you do this aswell. Like if I typed /o Hello World, then typed it again, it would say "Please do not say the same thing"
|
Originally Posted by ♂ Antonio [G-RP
]
How do you do this aswell. Like if I typed /o Hello World, then typed it again, it would say "Please do not say the same thing" |
|
Originally Posted by ♂ Antonio [G-RP
]
It's caled 'base' and no, it doesn't have it ![]() |
GetPVarString(playerid,"text", test, sizeof(test))
if(!strcmp(text, test, false, strlen(text))
{
SetPVarString(playerid,"text", text);
// Do your thing
}
else
{
// Don't say the same thing twice.
}