PHP Code:
set_task( 1.0, "SelectYourWeapons", id );
There is no such function as SelectYourWeapons, it should be something like this
PHP Code:
public SelectYourWeapons(id){
//blablablabla
}
I am assuming that you want the survivor to choose a weapon from a menu or something, if you specify what weapons you want to show on the menu, I can make the function from scratch.