Explorar el Código

[fixed] teacher chats in the school

julzor hace 4 años
padre
commit
2597a185f7
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      locations/gschool_groups.qsrc

+ 4 - 1
locations/gschool_groups.qsrc

@@ -10,6 +10,9 @@ gs 'themes', 'food_menu'
 !5 - outcasts
 !6 - teachers
 
+!1-5 use $npcGoSchool
+!6 use $npcGo
+
 if $ARGS[0] = 'teachers':
 	killvar '$teach_text'
 	killvar 'teach_count'
@@ -20,7 +23,7 @@ if $ARGS[0] = 'teachers':
 
 		if npc_grupTipe['A<<i>>'] = 6 and schoolenable['A<<i>>'] = 1:
 			teach_count += 1
-			$teach_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + iif($ARGS[1] = 'journal', '<a href="exec:gt ''journal'',''teachers''"><<$npc_usedname[''A<<i>>'']>></a>', $npcGoSchool['A<<i>>'])
+			$teach_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + iif($ARGS[1] = 'journal', '<a href="exec:gt ''journal'',''teachers''"><<$npc_usedname[''A<<i>>'']>></a>', $npcGo['A<<i>>'])
 		end
 		if teach_count< 6 and npc_grupTipe['A<<i>>'] = 6:
 			$teach_text += '</td>'