Hello!
Can somebody help me out on how i can save bool's status on the map i am currently in.
I want to be able to change the bool status while in game, and when i rejoin that map that bool to be the value i left it on
PHP Code:
new bool:TestStatus
public plugin_init()
register_clcmd("say /changebool","BoolAlter")
public BoolAlter()
{
if(TestStatus == true){
TestStatus = false
}else{
TestStatus = true
}
save_map_info()
}
public client_connect(id)
{
load_map_info()
}