Mike4Told
11-15-2014, 01:58
Basically, what I need is an example of how to detect a client's flag, or whether they don't have it.
An example in PHP it would be like this:
<?php
$user1 = 'r'; //user 1 has flag "R"
$user2 = ''; // user 2 doesn't have a flag
if ($user == "r"){
echo "You have blah, blah, blah.";
}else{
echo "Donate blah blah blah.";
}
?>
The echo's would be automatic messages.
I would like to be able to send automatic messages using SourcePawn. I am rebuilding the AdSQL plugin.
Thanks in advance.
An example in PHP it would be like this:
<?php
$user1 = 'r'; //user 1 has flag "R"
$user2 = ''; // user 2 doesn't have a flag
if ($user == "r"){
echo "You have blah, blah, blah.";
}else{
echo "Donate blah blah blah.";
}
?>
The echo's would be automatic messages.
I would like to be able to send automatic messages using SourcePawn. I am rebuilding the AdSQL plugin.
Thanks in advance.