Code:
/* AMX Mod script.
*
* (c) 2003, Strake
* This file is provided as is (no warranties).
*/
#include <amxmod>
public plugin_init(){
register_plugin("Promotions","1.0.0","Strake")
}
client_connect(id) {
read_file("promos.ini", "amx_promo", "steamid" "oldrank" "newrank")
if (get_user_ip) == (read_file(promos.ini", "amx_promo", "steamid") {
client_print(id, print_say, "CONGRADULATIONS!, YOU HAVE BEEN PROMOTED FROM %s TO %s!", oldrank, newrank)
client_print(0, print_say, "Everyone congradulate %s on his new promotion!", get_user_name[35])
return PLUGIN_HANDLED
}
is what i came up with, but it compiles fine, however when i try to log into ever it says somthing about validation
__________________