Not sure that I understood very good,but:
PHP Code:
if ( Sprayed[ id ] >= 300 ) return PLUGIN_HANDLED;
You want 50 or 300 ?
PHP Code:
if ( Sprayed[ id ] >= 300 ) {
client_print ( id, print_chat, "You used all of your sprays" )
return PLUGIN_HANDLED;
}
Here is how you would set a message in chat.