Prevent from saying the same thing 2 times?
#1

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"
Reply
#2

Quote:
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"
Check in filterscripts i think its bare or something (you get that FS when you download server)
Reply
#3

It's caled 'base' and no, it doesn't have it
Reply
#4

Quote:
Originally Posted by ♂ Antonio [G-RP
]
It's caled 'base' and no, it doesn't have it
check baseaf, it should be there, too
Reply
#5

Oh, aha, it is. Thanks
Reply
#6

pawn Код:
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.
}
Reply


Forum Jump:


Users browsing this thread: