RSSy MYGO.pl Opublikowano Sierpień 8, 2020 o 10:18 RSSy Udostępnij Opublikowano Sierpień 8, 2020 o 10:18 Hey AM! I was working on allowing players to use weapons for ProKreedz 2.31, and not disarming them when they start their climb, except if they have a scout (to allow for nub15 records). I tried this, but it doesn't seem to work. Can anyone help me out? Code: for(new i = 0; i < 8; i++) if( user_has_weapon(id, other_weapons) ) { strip_user_weapons(id) give_item(id,"weapon_knife") give_item(id,"weapon_usp") give_item(id, other_weapons_name) //Changed code line - the array contains strings with weapon_name to give the player the weapon when they start the run. set_pdata_int(id, 382, 24, 5) if(wpn==CSW_SCOUT) user_has_scout[id]=true else user_has_scout[id]=false } Best regards, MaNaReaver. Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi